mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
eframe: Mouse passthrough option (#2080)
This commit is contained in:
@@ -383,6 +383,9 @@ mod glow_integration {
|
||||
integration.egui_ctx.set_visuals(theme.egui_visuals());
|
||||
|
||||
gl_window.window().set_ime_allowed(true);
|
||||
if self.native_options.mouse_passthrough {
|
||||
gl_window.window().set_cursor_hittest(false).unwrap();
|
||||
}
|
||||
|
||||
{
|
||||
let event_loop_proxy = self.repaint_proxy.clone();
|
||||
|
||||
Reference in New Issue
Block a user