mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
scale only the icon not the text
This commit is contained in:
parent
490bfdc928
commit
e1266e09c8
1 changed files with 7 additions and 7 deletions
|
|
@ -43,13 +43,6 @@ Item {
|
|||
|
||||
width: applicationsView.cellWidth
|
||||
height: width
|
||||
scale: root.reorderingApps && !drag.target ? 0.6 : 1
|
||||
Behavior on scale {
|
||||
NumberAnimation {
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
|
||||
states: [
|
||||
State {
|
||||
|
|
@ -116,6 +109,13 @@ Item {
|
|||
width: parent.height / 2
|
||||
height: width
|
||||
source: model.ApplicationIconRole
|
||||
scale: root.reorderingApps && !delegateItem.drag.target ? 0.6 : 1
|
||||
Behavior on scale {
|
||||
NumberAnimation {
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
PlasmaComponents.Label {
|
||||
|
|
|
|||
Loading…
Reference in a new issue