Make opacity of print monitor themeable

The new dark design specifies a colour for the print monitor overlay that is darker than what would be attainable with the default 75% opacity. So I'm making it 100% opacity (but still with a fade, so we need the opacity) and let the theme specify what opacity it wants.

Contributes to issue CURA-4148.
This commit is contained in:
Ghostkeeper 2017-08-21 10:50:36 +02:00
parent db640c6f3d
commit 42b8e87d00
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -447,7 +447,7 @@ UM.MainWindow
right: sidebar.left
}
visible: opacity > 0
opacity: base.showPrintMonitor ? 0.75 : 0
opacity: base.showPrintMonitor ? 1 : 0
Behavior on opacity { NumberAnimation { duration: 100; } }