Commit 91c6fa3
committed
fix(workspace): prevent komorebi widget freeze and broken states after auto-hide (#902)
- Replaced dynamic `get_monitor_hwnd` calls with cached `self.monitor_hwnd` to prevent the widget from dropping background updates when the bar is hidden and lacks physical dimensions.
- Updated `update_visible_buttons` to use `not btn.isHidden()` instead of `btn.isVisible()`, ensuring sequential CSS classes are correctly assigned to workspace buttons even while the parent bar is temporarily invisible.1 parent 5721094 commit 91c6fa3
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
| 405 | + | |
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
| |||
0 commit comments