Merge pull request #2414 from notiant/patch-9

NComboBox: remove hover animation
This commit is contained in:
Lysec
2026-04-07 15:42:56 +02:00
committed by GitHub
3 changed files with 4 additions and 24 deletions
+4 -2
View File
@@ -21,11 +21,12 @@ Singleton {
// Default date format per language (used by lock screen, etc.) // Default date format per language (used by lock screen, etc.)
readonly property var dateFormats: ({ readonly property var dateFormats: ({
"cs": "dddd d. MMMM",
"de": "dddd, d. MMMM", "de": "dddd, d. MMMM",
"en": "dddd, MMMM d", "en": "dddd, MMMM d",
"es": "dddd, d 'de' MMMM", "es": "dddd, d 'de' MMMM",
"fr": "dddd d MMMM", "fr": "dddd d MMMM",
"hu": "dddd, MMMM d.", "hu": "MMMM d., dddd",
"it": "dddd d MMMM", "it": "dddd d MMMM",
"ja": "yyyy年M月d日 dddd", "ja": "yyyy年M月d日 dddd",
"ko": "yyyy년 M월 d일 dddd", "ko": "yyyy년 M월 d일 dddd",
@@ -34,11 +35,12 @@ Singleton {
"nn": "dddd d. MMMM", "nn": "dddd d. MMMM",
"pl": "dddd, d MMMM", "pl": "dddd, d MMMM",
"pt": "dddd, d 'de' MMMM", "pt": "dddd, d 'de' MMMM",
"ro": "dddd, d MMMM",
"ru": "dddd, d MMMM", "ru": "dddd, d MMMM",
"sv": "dddd d MMMM", "sv": "dddd d MMMM",
"tr": "dddd, d MMMM", "tr": "dddd, d MMMM",
"uk": "dddd, d MMMM", "uk": "dddd, d MMMM",
"vi": "dddd, d MMMM", "vi": "dddd, d 'tháng' M",
"zh": "yyyy年M月d日 dddd" "zh": "yyyy年M月d日 dddd"
}) })
-12
View File
@@ -274,12 +274,6 @@ RowLayout {
radius: Style.iRadiusS radius: Style.iRadiusS
color: isHighlighted ? Color.mHover : "transparent" color: isHighlighted ? Color.mHover : "transparent"
Behavior on color {
ColorAnimation {
duration: Style.animationFast
}
}
NText { NText {
id: delegateText id: delegateText
anchors.fill: parent anchors.fill: parent
@@ -293,12 +287,6 @@ RowLayout {
var item = root.getItem(delegateRect.index); var item = root.getItem(delegateRect.index);
return item && item.name ? item.name : ""; return item && item.name ? item.name : "";
} }
Behavior on color {
ColorAnimation {
duration: Style.animationFast
}
}
} }
MouseArea { MouseArea {
-10
View File
@@ -336,11 +336,6 @@ RowLayout {
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
elide: Text.ElideRight elide: Text.ElideRight
Layout.fillWidth: true Layout.fillWidth: true
Behavior on color {
ColorAnimation {
duration: Style.animationFast
}
}
} }
RowLayout { RowLayout {
@@ -396,11 +391,6 @@ RowLayout {
anchors.fill: parent anchors.fill: parent
color: highlighted ? Color.mHover : "transparent" color: highlighted ? Color.mHover : "transparent"
radius: Style.iRadiusS radius: Style.iRadiusS
Behavior on color {
ColorAnimation {
duration: Style.animationFast
}
}
} }
} }
} }