mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-09 22:19:03 +08:00
Recolor toolbar icons
While cleaning up the theme icons I discovered that the toolbar icons were incorrectly relying on the color specified in the icon.
This commit is contained in:
parent
1895cd7062
commit
774eadc7d1
@ -188,12 +188,13 @@ QtObject {
|
||||
}
|
||||
|
||||
label: Item {
|
||||
Image {
|
||||
UM.RecolorImage {
|
||||
anchors.centerIn: parent;
|
||||
opacity: !control.enabled ? 0.2 : 1.0
|
||||
source: control.iconSource;
|
||||
width: Theme.getSize("button_icon").width;
|
||||
height: Theme.getSize("button_icon").height;
|
||||
color: Theme.getColor("button_text")
|
||||
|
||||
sourceSize: Theme.getSize("button_icon")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user