|
|
|
|
|
|
D.assert(FocusManagerUtils._focusDebug($"Refreshing focus state. Next focus will be {_markedForFocus}")); |
|
|
|
|
|
|
|
if (_markedForFocus != null && _markedForFocus != _primaryFocus) { |
|
|
|
HashSet<FocusNode> previousPath = new HashSet<FocusNode>(previousFocus?.ancestors) ?? new HashSet<FocusNode>(); |
|
|
|
HashSet<FocusNode> previousPath = previousFocus?.ancestors != null ? new HashSet<FocusNode>(previousFocus.ancestors) : new HashSet<FocusNode>(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
foreach(FocusNode node in FocusTravesalUtils.difference(nextPath,previousPath)) { |
|
|
|
_dirtyNodes.Add(node); |
|
|
|
} |
|
|
|