mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
The PrintSetupTooltip was catching events while invisible on the top left of the screen. This was causing the menubar not to be clickable.
I've disabled PrintSetupTooltip when not visible so that it does not catch events. CURA-9232
This commit is contained in:
parent
81a170fb7b
commit
1accb30408
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,8 @@ UM.PointingRectangle
|
|||
arrowSize: UM.Theme.getSize("default_arrow").width
|
||||
|
||||
opacity: 0
|
||||
// This should be disabled when invisible, otherwise it will catch mouse events.
|
||||
enabled: false
|
||||
|
||||
Behavior on opacity
|
||||
{
|
||||
|
@ -52,11 +54,13 @@ UM.PointingRectangle
|
|||
}
|
||||
base.opacity = 1;
|
||||
target = Qt.point(position.x + 1, position.y + Math.round(UM.Theme.getSize("tooltip_arrow_margins").height / 2))
|
||||
enabled = true
|
||||
}
|
||||
|
||||
function hide()
|
||||
{
|
||||
base.opacity = 0;
|
||||
enabled = false
|
||||
}
|
||||
|
||||
ScrollView
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue