mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 13:01:29 +00:00
Give the Ctrl+wheel test event its wheel source (#3736)
This commit is contained in:
1 parent
8314fa12a1
commit
41d819e2d3
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user