forked from qt-creator/qt-creator
QmlDesigner: Fix standalone ActionIndicator hover
Change-Id: I55dbcdffcd755ea16e3dcfb17683c27f3e77e49f Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
0e159760e5
commit
6135726f4a
@@ -60,7 +60,8 @@ Rectangle {
|
||||
State {
|
||||
name: "hovered"
|
||||
when: actionIndicator.hover && !actionIndicator.pressed
|
||||
&& !myControl.edit && !myControl.drag && myControl.enabled
|
||||
&& (!myControl || (!myControl.edit && !myControl.drag))
|
||||
&& actionIndicator.enabled
|
||||
PropertyChanges {
|
||||
target: actionIndicatorIcon
|
||||
scale: 1.2
|
||||
@@ -68,7 +69,7 @@ Rectangle {
|
||||
},
|
||||
State {
|
||||
name: "disabled"
|
||||
when: !myControl.enabled
|
||||
when: !actionIndicator.enabled
|
||||
PropertyChanges {
|
||||
target: actionIndicatorIcon
|
||||
color: StudioTheme.Values.themeTextColorDisabled
|
||||
|
Reference in New Issue
Block a user