Fix window resizing not working on expanded nodes

This commit is contained in:
outfoxxed 2023-09-05 02:25:40 -07:00
parent 14dec2e15c
commit 4bc6e306c6
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E

View file

@ -359,6 +359,8 @@ void Hy3Layout::resizeActiveWindow(const Vector2D& delta, eRectCorner corner, CW
auto* node = this->getNodeFromWindow(window);
if (node == nullptr) return;
if (node->parent != nullptr && node->parent->data.as_group.focused_child == node)
node = &node->getExpandActor();
bool drag_x;
bool drag_y;