mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
NComboBox: remove hover animation
This commit is contained in:
@@ -274,12 +274,6 @@ RowLayout {
|
||||
radius: Style.iRadiusS
|
||||
color: isHighlighted ? Color.mHover : "transparent"
|
||||
|
||||
Behavior on color {
|
||||
ColorAnimation {
|
||||
duration: Style.animationFast
|
||||
}
|
||||
}
|
||||
|
||||
NText {
|
||||
id: delegateText
|
||||
anchors.fill: parent
|
||||
@@ -293,12 +287,6 @@ RowLayout {
|
||||
var item = root.getItem(delegateRect.index);
|
||||
return item && item.name ? item.name : "";
|
||||
}
|
||||
|
||||
Behavior on color {
|
||||
ColorAnimation {
|
||||
duration: Style.animationFast
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
|
||||
@@ -336,11 +336,6 @@ RowLayout {
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
elide: Text.ElideRight
|
||||
Layout.fillWidth: true
|
||||
Behavior on color {
|
||||
ColorAnimation {
|
||||
duration: Style.animationFast
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
@@ -396,11 +391,6 @@ RowLayout {
|
||||
anchors.fill: parent
|
||||
color: highlighted ? Color.mHover : "transparent"
|
||||
radius: Style.iRadiusS
|
||||
Behavior on color {
|
||||
ColorAnimation {
|
||||
duration: Style.animationFast
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user