mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
Fix CI (#5005)
This commit is contained in:
@@ -239,13 +239,13 @@ impl EpiIntegration {
|
|||||||
|
|
||||||
use winit::event::{ElementState, MouseButton, WindowEvent};
|
use winit::event::{ElementState, MouseButton, WindowEvent};
|
||||||
|
|
||||||
match event {
|
if let WindowEvent::MouseInput {
|
||||||
WindowEvent::MouseInput {
|
button: MouseButton::Left,
|
||||||
button: MouseButton::Left,
|
state: ElementState::Pressed,
|
||||||
state: ElementState::Pressed,
|
..
|
||||||
..
|
} = event
|
||||||
} => self.can_drag_window = true,
|
{
|
||||||
_ => {}
|
self.can_drag_window = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
egui_winit.on_window_event(window, event)
|
egui_winit.on_window_event(window, event)
|
||||||
|
|||||||
@@ -1666,6 +1666,15 @@ pub fn create_winit_window_attributes(
|
|||||||
pixels_per_point * pos.y,
|
pixels_per_point * pos.y,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
#[cfg(target_os = "ios")]
|
||||||
|
{
|
||||||
|
// Unused:
|
||||||
|
_ = pixels_per_point;
|
||||||
|
_ = position;
|
||||||
|
_ = inner_size;
|
||||||
|
_ = min_inner_size;
|
||||||
|
_ = max_inner_size;
|
||||||
|
}
|
||||||
|
|
||||||
if let Some(icon) = icon {
|
if let Some(icon) = icon {
|
||||||
let winit_icon = to_winit_icon(&icon);
|
let winit_icon = to_winit_icon(&icon);
|
||||||
|
|||||||
Reference in New Issue
Block a user