HDrawer: enable behaviors based on orientation
This commit is contained in:
parent
66e3a07401
commit
7d50e8c6a8
|
@ -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 }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user