1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 04:47:34 +00:00

Taskbar: Scale window icon bitmap if it's not 16x16

Fixes: #5806
This commit is contained in:
LuK1337 2021-07-10 12:00:32 +02:00 committed by Linus Groh
parent eca74088a0
commit 5e823d3de0
2 changed files with 12 additions and 2 deletions

View file

@ -18,6 +18,7 @@ public:
virtual ~TaskbarWindow() override;
static int taskbar_height() { return 27; }
static int taskbar_icon_size() { return 16; }
private:
explicit TaskbarWindow(NonnullRefPtr<GUI::Menu> start_menu);