Commit e9f7925
fix: improve window transition and drag visibility
1. Changed QTimer delay from 1ms to 100ms in
setCurrentFrameToWindowedFrame to prevent visual glitches during window
transition
2. Added drag-and-drop visibility check in ItemBackground.qml to hide
background during drag operations
3. The timer adjustment ensures smoother frame switching by allowing
proper UI updates
4. The drag visibility change prevents visual artifacts when dragging
items over buttons
fix: 改进窗口切换和拖拽可见性
1. 将setCurrentFrameToWindowedFrame中的QTimer延迟从1ms改为100ms,防止窗
口切换时的视觉故障
2. 在ItemBackground.qml中添加拖拽操作可见性检查,在拖拽期间隐藏背景
3. 定时器调整通过允许适当的UI更新来确保更平滑的帧切换
4. 拖拽可见性更改防止了在按钮上拖动项目时的视觉伪影
Pms: BUG-3236331 parent d83db2c commit e9f7925
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
| |||
0 commit comments