Fix CI (#5005)
This commit is contained in:
parent
b84a1e2a29
commit
0513c05768
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue