Fix once applying to selection movement

This commit is contained in:
outfoxxed 2023-05-13 01:07:53 -07:00
parent face71676c
commit 413c25fa4b
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E

View file

@ -1177,7 +1177,7 @@ Hy3Node* Hy3Layout::shiftOrGetFocus(Hy3Node& node, ShiftDirection direction, boo
auto& group = break_parent->data.as_group; // must be a group in order to be a parent
if (has_broken_once) break;
if (once && shift && has_broken_once) break;
if (shiftMatchesLayout(group.layout, direction)) {
// group has the correct orientation