Skip to content

Commit 113e7e0

Browse files
mhduiydeepin-bot[bot]
authored andcommitted
style: adjust folder icon animation durations
Changed animation durations for folder icon scaling and positioning to create smoother visual transitions. The scale animation duration increased from 400ms to 600ms, while the x and y position animations increased from 400ms to 800ms. This provides a more deliberate and polished feel when folder icons animate into their grid positions, enhancing the overall user experience with smoother motion. style: 调整文件夹图标动画持续时间 修改了文件夹图标缩放和定位的动画持续时间,以创建更平滑的视觉过渡。缩放动 画持续时间从400毫秒增加到600毫秒,而x和y位置动画从400毫秒增加到800毫秒。 这使得文件夹图标在动画进入网格位置时具有更从容和精致的感觉,通过更流畅的 运动提升了整体用户体验。
1 parent 21cce1f commit 113e7e0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

qml/IconItemDelegate.qml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,21 +208,21 @@ Control {
208208
property: "scale"
209209
from: folderIcon.introScale
210210
to: (itemWidth / root.maxIconSizeInFolder) * root.iconScaleFactor
211-
duration: 400
211+
duration: 600
212212
easing.type: Easing.OutExpo
213213
}
214214
NumberAnimation {
215215
target: folderIcon
216216
property: "x"
217217
from: folderIcon.iconCenterX; to: iconItem.getItemX(index)
218-
duration: 400
218+
duration: 800
219219
easing.type: Easing.OutExpo
220220
}
221221
NumberAnimation {
222222
target: folderIcon
223223
property: "y"
224224
from: folderIcon.iconCenterY; to: iconItem.getItemY(index)
225-
duration: 400
225+
duration: 800
226226
easing.type: Easing.OutExpo
227227
}
228228

0 commit comments

Comments
 (0)