CatDog: Set window hit testing to opaque pixels only

This commit is contained in:
Tom 2021-02-14 16:42:46 -07:00 committed by Andreas Kling
parent d590e0c946
commit a0e558ce89
Notes: sideshowbarker 2024-07-18 22:13:30 +09:00

View File

@ -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>();