diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2017-02-14 09:42:37 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2017-02-24 12:15:38 +0000 |
commit | c7994835630cf5a34fda22829d6462b8a0d34ae9 (patch) | |
tree | 3b6582f6c2d9985ff21b8306ff6d4c58bbc768c3 /src/imports/controls/material/RoundButton.qml | |
parent | 398691d74e9a2bc944a4816ebc78d0beef780fec (diff) |
Material: remove color animation on various controls' background
This resulted in the background becoming very dark when toggling
between enabled/disabled or editable/read-only states.
Task-number: QTBUG-58828
Change-Id: I710fa97aefd26e490a219ba99833d5bfe47f2133
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/controls/material/RoundButton.qml')
-rw-r--r-- | src/imports/controls/material/RoundButton.qml | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/imports/controls/material/RoundButton.qml b/src/imports/controls/material/RoundButton.qml index 3ce3b39b..249acb20 100644 --- a/src/imports/controls/material/RoundButton.qml +++ b/src/imports/controls/material/RoundButton.qml @@ -96,12 +96,6 @@ T.RoundButton { color: control.Material.rippleColor } - Behavior on color { - ColorAnimation { - duration: 400 - } - } - // The layer is disabled when the button color is transparent so that you can do // Material.background: "transparent" and get a proper flat button without needing // to set Material.elevation as well |