mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 02:45:55 +08:00
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:
parent
db640c6f3d
commit
42b8e87d00
@ -447,7 +447,7 @@ UM.MainWindow
|
|||||||
right: sidebar.left
|
right: sidebar.left
|
||||||
}
|
}
|
||||||
visible: opacity > 0
|
visible: opacity > 0
|
||||||
opacity: base.showPrintMonitor ? 0.75 : 0
|
opacity: base.showPrintMonitor ? 1 : 0
|
||||||
|
|
||||||
Behavior on opacity { NumberAnimation { duration: 100; } }
|
Behavior on opacity { NumberAnimation { duration: 100; } }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user