From a0e558ce8930df64259db3b89735c518d7d657e1 Mon Sep 17 00:00:00 2001 From: Tom Date: Sun, 14 Feb 2021 16:42:46 -0700 Subject: [PATCH] CatDog: Set window hit testing to opaque pixels only --- Userland/Demos/CatDog/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Demos/CatDog/main.cpp b/Userland/Demos/CatDog/main.cpp index 769cb69d3f..105c8d3292 100644 --- a/Userland/Demos/CatDog/main.cpp +++ b/Userland/Demos/CatDog/main.cpp @@ -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();