Remove image hover from NCButtonContents and CustomButton.

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-08-31 16:08:44 +02:00 committed by Matthieu Gallien
parent 8392d3d5aa
commit 43bafda1eb
No known key found for this signature in database
GPG key ID: 7D0F74F05C22F553
2 changed files with 1 additions and 3 deletions

View file

@ -40,7 +40,6 @@ Button {
id: contents
display: root.display
hovered: root.hovered
imageSourceHover: root.imageSourceHover
imageSource: root.icon.source
imageSourceWidth: root.icon.width
imageSourceHeight: root.icon.height

View file

@ -22,7 +22,6 @@ RowLayout {
id: root
property bool hovered: false
property string imageSourceHover: ""
property string imageSource: ""
property int imageSourceWidth: undefined
property int imageSourceHeight: undefined
@ -38,7 +37,7 @@ RowLayout {
Layout.maximumHeight: root.height
Layout.alignment: Qt.AlignCenter
source: root.hovered ? root.imageSourceHover : root.imageSource
source: root.imageSource
sourceSize {
width: root.imageSourceWidth