mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +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
Notes:
sideshowbarker
2024-07-19 05:11:01 +09:00
Author: https://github.com/awesomekling
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