mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Remove image hover from NCButtonContents and CustomButton.
Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
parent
8392d3d5aa
commit
43bafda1eb
2 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue