mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
WindowServer+WorkspacePicker: Adjust active and inactive colors
Now uses the Selection ColorRole for the active desktop and a slightly darkened Window for inactive ones. Several themes use the same color for thread highlighting and inactive windows which was causing frames to draw without the correct perception of depth.
This commit is contained in:
parent
24424d265d
commit
1f1ac99ef9
2 changed files with 4 additions and 4 deletions
|
@ -47,8 +47,8 @@ public:
|
|||
|
||||
auto& desktop = GUI::Desktop::the();
|
||||
|
||||
auto active_color = palette().active_window_border1();
|
||||
auto inactive_color = palette().inactive_window_border1();
|
||||
auto active_color = palette().selection();
|
||||
auto inactive_color = palette().window().darkened(0.9f);
|
||||
|
||||
for (unsigned row = 0; row < desktop.workspace_rows(); ++row) {
|
||||
for (unsigned column = 0; column < desktop.workspace_columns(); ++column) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue