From d422e14cf8f3d987f51593f6fc8e9fc308fc4f43 Mon Sep 17 00:00:00 2001 From: not-elm Date: Thu, 19 Feb 2026 23:25:15 +0900 Subject: [PATCH] fix: restrict on_mouse_wheel to mesh webviews only Co-Authored-By: Claude Opus 4.6 --- src/webview/mesh.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webview/mesh.rs b/src/webview/mesh.rs index 8611098..3f4b3aa 100644 --- a/src/webview/mesh.rs +++ b/src/webview/mesh.rs @@ -88,7 +88,7 @@ fn on_mouse_wheel( browsers: NonSend, pointer: WebviewPointer, windows: Query<&Window>, - webviews: Query>, + webviews: Query, Or<(With, With)>)>, ) { let Some(cursor_pos) = windows.iter().find_map(|window| window.cursor_position()) else { return;