Commit f9ea48b
committed
fix(ButtonPanel): add hasAnimation check to enableAnimation property
1. Added D.DTK.hasAnimation guard to the enableAnimation condition in ButtonPanel
2. Prevents animation from being enabled when the system or theme does not support it
Log: Add hasAnimation check to ButtonPanel enableAnimation to respect system animation settings
fix(ButtonPanel): 为 enableAnimation 属性添加 hasAnimation 检查
1. 在 ButtonPanel 的 enableAnimation 条件中添加 D.DTK.hasAnimation 守卫
2. 当系统或主题不支持动画时,避免启用动画
Log: 为 ButtonPanel 的 enableAnimation 添加 hasAnimation 检查,以遵循系统动画设置1 parent ad644ea commit f9ea48b
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments