mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
revealer: more correct visible conditions
This commit is contained in:
@@ -12,7 +12,7 @@ Item {
|
|||||||
|
|
||||||
implicitWidth: (reveal || vertical) ? childrenRect.width : 0
|
implicitWidth: (reveal || vertical) ? childrenRect.width : 0
|
||||||
implicitHeight: (reveal || !vertical) ? childrenRect.height : 0
|
implicitHeight: (reveal || !vertical) ? childrenRect.height : 0
|
||||||
visible: reveal || (width > 0 && height > 0)
|
visible: reveal || (implicitWidth > 0 && !vertical) || (implicitHeight > 0 && vertical)
|
||||||
|
|
||||||
Behavior on implicitWidth {
|
Behavior on implicitWidth {
|
||||||
enabled: !vertical
|
enabled: !vertical
|
||||||
|
|||||||
Reference in New Issue
Block a user