forked from Shinonome/dots-hyprland
make 0-size warnings stfu
This commit is contained in:
@@ -12,7 +12,6 @@ Item {
|
|||||||
|
|
||||||
height: parent.height
|
height: parent.height
|
||||||
width: colLayout.width
|
width: colLayout.width
|
||||||
|
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: colLayout
|
id: colLayout
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ Scope {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ActiveWindow {
|
ActiveWindow {
|
||||||
visible: barRoot.useShortenedForm === 0
|
visible: barRoot.useShortenedForm === 0 && width > 0 && height > 0
|
||||||
Layout.rightMargin: Appearance.rounding.screenRounding
|
Layout.rightMargin: Appearance.rounding.screenRounding
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
bar: barRoot
|
bar: barRoot
|
||||||
|
|||||||
@@ -118,6 +118,7 @@ TabButton {
|
|||||||
|
|
||||||
property real implicitWidth: 0
|
property real implicitWidth: 0
|
||||||
property real implicitHeight: 0
|
property real implicitHeight: 0
|
||||||
|
visible: width > 0 && height > 0
|
||||||
|
|
||||||
Behavior on opacity {
|
Behavior on opacity {
|
||||||
animation: Appearance?.animation.elementMoveFast.colorAnimation.createObject(this)
|
animation: Appearance?.animation.elementMoveFast.colorAnimation.createObject(this)
|
||||||
|
|||||||
@@ -13,6 +13,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: width > 0 && height > 0
|
||||||
|
|
||||||
Behavior on implicitWidth {
|
Behavior on implicitWidth {
|
||||||
enabled: !vertical
|
enabled: !vertical
|
||||||
|
|||||||
@@ -155,6 +155,7 @@ Button {
|
|||||||
width: ripple.implicitWidth
|
width: ripple.implicitWidth
|
||||||
height: ripple.implicitHeight
|
height: ripple.implicitHeight
|
||||||
opacity: 0
|
opacity: 0
|
||||||
|
visible: width > 0 && height > 0
|
||||||
|
|
||||||
property real implicitWidth: 0
|
property real implicitWidth: 0
|
||||||
property real implicitHeight: 0
|
property real implicitHeight: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user