HDrawer: enable behaviors based on orientation

This commit is contained in:
miruka 2019-12-09 12:10:04 -04:00
parent 66e3a07401
commit 7d50e8c6a8

View File

@ -57,12 +57,12 @@ Drawer {
Behavior on width {
enabled: ! resizeMouseHandler.drag.active
enabled: horizontal && ! resizeMouseHandler.drag.active
NumberAnimation { duration: 100 }
}
Behavior on height {
enabled: ! resizeMouseHandler.drag.active
enabled: vertical && ! resizeMouseHandler.drag.active
NumberAnimation { duration: 100 }
}