Give the Ctrl+wheel test event its wheel source (#3736)

This commit is contained in:
MarekSpodBiedry committed 2026-11-04 08:50:45 +01:00
1 parent 8314fa12a1
commit 41d819e2d3
1 file changed
+1
+1
View File
@@ -1639,6 +1639,7 @@ fn ctrl_wheel_zooms_an_unfocused_window() {
delta: vec2(0.0, 1.0),
phase: egui::TouchPhase::Move,
modifiers: egui::Modifiers::COMMAND,
source: egui::MouseWheelSource::Unknown,
};
h.state_mut().palette_open = true;
let before = h.state().views[0].zoom;