mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-15 18:53:40 +01:00
Fix selection/move wraparound behavior in the root node
This commit is contained in:
parent
c90a3078c0
commit
e0b4a2e5f1
1 changed files with 1 additions and 2 deletions
|
@ -1035,9 +1035,8 @@ Hy3Node* shiftOrGetFocus(Hy3Node& node, ShiftDirection direction, bool shift) {
|
|||
break;
|
||||
}
|
||||
|
||||
// always break at the outermost group
|
||||
if (break_parent->parent == nullptr) {
|
||||
break;
|
||||
return nullptr;
|
||||
} else {
|
||||
break_origin = break_parent;
|
||||
break_parent = break_origin->parent;
|
||||
|
|
Loading…
Add table
Reference in a new issue