Update plugins/PerObjectSettingsTool/ToolBarButton.qml

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
Casper Lamboo 2022-01-25 15:54:33 +01:00 committed by GitHub
parent c63b94375d
commit f834e63413
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ ToolButton
} }
return UM.Theme.getColor("toolbar_background") return UM.Theme.getColor("toolbar_background")
} }
Behavior on color { ColorAnimation { duration: 50; } } Behavior on color { ColorAnimation { duration: 50 } }
border.width: (base.hasOwnProperty("needBorder") && base.needBorder) ? UM.Theme.getSize("default_lining").width : 0 border.width: (base.hasOwnProperty("needBorder") && base.needBorder) ? UM.Theme.getSize("default_lining").width : 0
border.color: base.checked ? UM.Theme.getColor("icon") : UM.Theme.getColor("lining") border.color: base.checked ? UM.Theme.getColor("icon") : UM.Theme.getColor("lining")