mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
CatDog: Set window hit testing to opaque pixels only
This commit is contained in:
parent
d590e0c946
commit
a0e558ce89
Notes:
sideshowbarker
2024-07-18 22:13:30 +09:00
Author: https://github.com/tomuta Commit: https://github.com/SerenityOS/serenity/commit/a0e558ce893 Pull-request: https://github.com/SerenityOS/serenity/pull/5355 Reviewed-by: https://github.com/awesomekling
@ -224,6 +224,7 @@ int main(int argc, char** argv)
|
||||
window->set_frameless(true);
|
||||
window->set_resizable(false);
|
||||
window->set_has_alpha_channel(true);
|
||||
window->set_alpha_hit_threshold(1.0f);
|
||||
window->set_icon(app_icon.bitmap_for_size(16));
|
||||
|
||||
auto& root_widget = window->set_main_widget<MainFrame>();
|
||||
|
Loading…
Reference in New Issue
Block a user