mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-13 09:20:58 -06:00
Give the Ctrl+wheel test event its wheel source (#3736)
This commit is contained in:
@@ -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