Debug Tools and Scrollable widget
This commit is contained in:
parent
f68f91f7d5
commit
458e56fb4c
27 changed files with 274 additions and 103 deletions
|
|
@ -80,9 +80,11 @@ void DockWidget::process(const EventHandler& events) {
|
|||
if (events.isPressed(InputID::MOUSE1)) {
|
||||
if (layout()->startResize(events.getPointer())) {
|
||||
triggerWidgetUpdate("dock layout resizing");
|
||||
lockFocus();
|
||||
}
|
||||
} else if (events.isReleased(InputID::MOUSE1)) {
|
||||
layout()->endResize();
|
||||
freeFocus();
|
||||
}
|
||||
|
||||
if (layout()->isResizing()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue