1
0
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:
Sven Niederberger
2025-04-22 11:52:20 +02:00
committed by GitHub
parent cd318f0e55
commit 61e883be25
5 changed files with 0 additions and 22 deletions

View File

@@ -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 });
}
}
}