Commit b7c8c5f
fix(text): Sync text color with theme highlight color in pressed state
When ToolButton is in pressed (isSunken) state, the icon already changes
to the theme highlight color, but the text remains unchanged. This causes
inconsistent visual feedback between the icon and text.
Now both icon and text use palette().highlight().color() in pressed state,
providing a unified user experience across all theme modes.
bug: https://pms.uniontech.com/bug-view-356023.html1 parent 36d3c2b commit b7c8c5f
2 files changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
278 | 283 | | |
279 | 284 | | |
280 | 285 | | |
| |||
0 commit comments