Fix CI (#5005)
This commit is contained in:
parent
b84a1e2a29
commit
0513c05768
|
|
@ -239,13 +239,13 @@ impl EpiIntegration {
|
|||
|
||||
use winit::event::{ElementState, MouseButton, WindowEvent};
|
||||
|
||||
match event {
|
||||
WindowEvent::MouseInput {
|
||||
button: MouseButton::Left,
|
||||
state: ElementState::Pressed,
|
||||
..
|
||||
} => self.can_drag_window = true,
|
||||
_ => {}
|
||||
if let WindowEvent::MouseInput {
|
||||
button: MouseButton::Left,
|
||||
state: ElementState::Pressed,
|
||||
..
|
||||
} = event
|
||||
{
|
||||
self.can_drag_window = true;
|
||||
}
|
||||
|
||||
egui_winit.on_window_event(window, event)
|
||||
|
|
|
|||
|
|
@ -1666,6 +1666,15 @@ pub fn create_winit_window_attributes(
|
|||
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 {
|
||||
let winit_icon = to_winit_icon(&icon);
|
||||
|
|
|
|||
Loading…
Reference in New Issue