revealer: fix abrupt hiding

This commit is contained in:
end-4
2025-06-18 01:37:16 +02:00
parent 5c045c0b42
commit aafa661f7a
@@ -13,7 +13,7 @@ Item {
implicitWidth: (reveal || vertical) ? childrenRect.width : 0
implicitHeight: (reveal || !vertical) ? childrenRect.height : 0
visible: reveal && width > 0 && height > 0
visible: reveal || (width > 0 && height > 0)
Behavior on implicitWidth {
enabled: !vertical