Commit 731fb96
committed
refactor: improve loading widget animation and structure
1. Removed background logo layer and simplified widget hierarchy
2. Replaced oscillating opacity effect with smoother breathing animation
3. Changed opacity range from full oscillation (1.0 to -0.9) to
breathing effect (0.3 to 1.0)
4. Updated icon theme from "deepin_unioncode_logo" to "ide"
5. Increased animation frequency by reducing timer interval from 150ms
to 50ms
6. Added proper member variables for opacity state management
Log: Improved loading animation with smoother breathing effect
Influence:
1. Verify loading widget displays correctly during application startup
2. Test animation smoothness and visual appeal
3. Confirm icon displays properly with new theme name
4. Check animation performance on different hardware
5. Verify loading text alignment and positioning
6. Test widget behavior during different loading scenarios
refactor: 优化加载控件动画和结构
1. 移除了背景logo层,简化了控件层次结构
2. 将振荡透明度效果改为更平滑的呼吸动画
3. 将透明度范围从完全振荡(1.0到-0.9)改为呼吸效果(0.3到1.0)
4. 将图标主题从"deepin_unioncode_logo"更新为"ide"
5. 通过将定时器间隔从150ms减少到50ms来提高动画频率
6. 添加了适当的成员变量用于透明度状态管理
Log: 改进了加载动画,采用更平滑的呼吸效果
Influence:
1. 验证应用程序启动时加载控件是否正确显示
2. 测试动画流畅度和视觉效果
3. 确认图标使用新主题名称正确显示
4. 在不同硬件上检查动画性能
5. 验证加载文本的对齐和定位
6. 测试不同加载场景下控件的行为1 parent 6262cf2 commit 731fb96
File tree
3 files changed
+36
-25
lines changed- debian
- src/plugins/core/gui
3 files changed
+36
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
1 | 10 | | |
2 | 11 | | |
3 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| |||
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
24 | | - | |
| 22 | + | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
51 | 52 | | |
52 | | - | |
| 53 | + | |
53 | 54 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
0 commit comments