Browse Source

Ensure that invisible menu seperators have a height of 0

CURA-9012
Jaime van Kessel 3 years ago
parent
commit
dab67d9b38
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/qml/Widgets/MenuSeparator.qml

+ 1 - 0
resources/qml/Widgets/MenuSeparator.qml

@@ -18,4 +18,5 @@ MenuSeparator
         implicitHeight: UM.Theme.getSize("default_lining").height
         color: UM.Theme.getColor("setting_control_border")
     }
+    height: visible ? implicitHeight: 0
 }