1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

Assistant: Force the window to have a shadow despite being frameless

This commit is contained in:
Andreas Kling 2021-07-04 23:11:06 +02:00
parent c2dfa9d54c
commit 085da369ff

View file

@ -294,6 +294,7 @@ int main(int argc, char** argv)
};
window->set_frameless(true);
window->set_forced_shadow(true);
window->resize(GUI::Desktop::the().rect().width() / 3, 46);
window->center_on_screen();
window->move_to(window->x(), window->y() - (GUI::Desktop::the().rect().height() * 0.33));