1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00

Rename id_pair to ids everywhere

This commit is contained in:
Emil Ernerfeldt
2023-11-14 06:18:04 +01:00
parent 0c828446a6
commit 66662e4414
6 changed files with 92 additions and 99 deletions

View File

@@ -180,7 +180,7 @@ impl State {
pub fn take_egui_input(
&mut self,
window: &winit::window::Window,
id_pair: ViewportIdPair,
ids: ViewportIdPair,
) -> egui::RawInput {
crate::profile_function!();
@@ -243,7 +243,7 @@ impl State {
None
};
self.egui_input.viewport.id_pair = id_pair;
self.egui_input.viewport.ids = ids;
self.egui_input.viewport.inner_rect_px =
if let (Some(pos), Some(size)) = (inner_pos_px, inner_size_px) {
Some(Rect::from_min_size(pos, size))