mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
Taskbar: Don't wrap minimized window titles in []
This actually looks a lot nicer without the [] and I'm not sure that the visual cue about minimization state was actually useful.
This commit is contained in:
parent
a409e6d27d
commit
8bd2fd8df9
1 changed files with 1 additions and 2 deletions
|
@ -224,11 +224,10 @@ void TaskbarWindow::wm_event(GUI::WMEvent& event)
|
|||
window.set_progress(changed_event.progress());
|
||||
if (window.is_minimized()) {
|
||||
window.button()->set_foreground_color(Color::DarkGray);
|
||||
window.button()->set_text(String::format("[%s]", changed_event.title().characters()));
|
||||
} else {
|
||||
window.button()->set_foreground_color(Color::Black);
|
||||
window.button()->set_text(changed_event.title());
|
||||
}
|
||||
window.button()->set_text(changed_event.title());
|
||||
window.button()->set_checked(changed_event.is_active());
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue