mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Revert "Add OutputCommand::SetPointerPosition to set mouse position" (#5867)
Reverts emilk/egui#5776 I noticed that this is already a `ViewportCommand`. Sorry for not seeing that earlier.
This commit is contained in:
committed by
GitHub
parent
cd318f0e55
commit
61e883be25
@@ -856,9 +856,6 @@ impl State {
|
||||
egui::OutputCommand::OpenUrl(open_url) => {
|
||||
open_url_in_browser(&open_url.url);
|
||||
}
|
||||
egui::OutputCommand::SetPointerPosition(egui::Pos2 { x, y }) => {
|
||||
let _ = window.set_cursor_position(winit::dpi::LogicalPosition { x, y });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user