Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Breeze Style for QQC2
Commits
2793af5a
Commit
2793af5a
authored
Feb 16, 2021
by
Noah Davis
🌵
Browse files
[RadioIndicator] only animate color to normal state
Also remove checks for unavailable properties
parent
2fc9d05c
Changes
1
Hide whitespace changes
Inline
Side-by-side
style/impl/RadioIndicator.qml
View file @
2793af5a
...
...
@@ -3,8 +3,6 @@
*/
import
QtQuick
2.15
import
QtQuick
.
Controls
2.15
as
Controls
import
QtQuick
.
Controls
.
impl
2.15
import
org
.
kde
.
kirigami
2.14
as
Kirigami
Rectangle
{
...
...
@@ -24,21 +22,23 @@ Rectangle {
Kirigami.Theme.colorSet
:
Kirigami
.
Theme
.
Button
Kirigami.Theme.inherit
:
false
color
:
(
control
.
down
||
control
.
checked
)
?
Kirigami
.
Theme
.
alternateBackgroundColor
:
Kirigami
.
Theme
.
backgroundColor
color
:
control
.
down
||
control
.
checked
?
Kirigami
.
Theme
.
alternateBackgroundColor
:
Kirigami
.
Theme
.
backgroundColor
border
{
width
:
Kirigami
.
Units
.
smallBorder
color
:
control
.
down
||
control
.
checked
||
control
.
highlighted
||
control
.
visualFocus
||
control
.
hovered
&&
control
.
enabled
?
Kirigami
.
Theme
.
focusColor
:
Kirigami
.
Theme
.
separatorColor
color
:
control
.
down
||
control
.
checked
||
control
.
visualFocus
||
control
.
hovered
?
Kirigami
.
Theme
.
focusColor
:
Kirigami
.
Theme
.
separatorColor
}
Behavior
on
color
{
enabled
:
control
.
down
||
control
.
checked
ColorAnimation
{
duration
:
Kirigami
.
Units
.
shortDuration
easing.type
:
Easing
.
OutCubic
}
}
Behavior
on
border.color
{
enabled
:
control
.
down
||
control
.
checked
||
control
.
visualFocus
||
control
.
hovered
ColorAnimation
{
duration
:
Kirigami
.
Units
.
shortDuration
easing.type
:
Easing
.
OutCubic
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment