Commit a3afe0ed authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Don't show monitor ruler duration tooltip if no zone is set

parent 3fee49e3
Pipeline #209754 passed with stage
in 7 minutes and 14 seconds
......@@ -200,8 +200,16 @@ Rectangle {
anchors.bottom: parent.bottom
height: ruler.height / 2
opacity: 0.8
onXChanged: zoneToolTipTimer.start()
onWidthChanged: zoneToolTipTimer.start()
onXChanged: {
if (zone.visible) {
zoneToolTipTimer.start()
}
}
onWidthChanged: {
if (zone.visible) {
zoneToolTipTimer.start()
}
}
}
// frame ticks
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment