focus locking stack

This commit is contained in:
IlyaShurupov 2024-11-05 20:32:59 +03:00
parent 1bbce78a2e
commit b5e490a0f8
7 changed files with 34 additions and 15 deletions

View file

@ -86,7 +86,7 @@ void DockWidget::process(const EventHandler& events) {
}
} else if (events.isReleased(InputID::MOUSE1)) {
layout()->endResize();
freeFocus();
if (layout()->isResizing()) freeFocus();
}
if (layout()->isResizing()) {