Browse Source

Merge pull request #10011 from Ultimaker/CURA-8334_Fix_tooltip_arrow_showing_in_Manage_printers_button

CURA-8334: Don't draw tooltip background if height is 0
Jaime van Kessel 3 years ago
parent
commit
84052d496f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/qml/ToolTip.qml

+ 1 - 0
resources/qml/ToolTip.qml

@@ -59,6 +59,7 @@ ToolTip
         color: UM.Theme.getColor("tooltip")
         target: Qt.point(targetPoint.x - tooltip.x, targetPoint.y - tooltip.y)
         arrowSize: UM.Theme.getSize("default_arrow").width
+        visible: tooltip.height != 0
     }
 
     contentItem: Label