diff --git a/build.Dockerfile b/build.Dockerfile index b382ae2..6b5ded5 100644 --- a/build.Dockerfile +++ b/build.Dockerfile @@ -18,7 +18,7 @@ RUN apt-get update && \ ln -s $(which ld64.lld-21) /usr/bin/ld64.lld && \ SDK_VERSION=14.5 UNATTENDED=1 ENABLE_COMPILER_RT_INSTALL=1 TARGET_DIR=/osxcross ./build.sh -FROM rust:1.94-bookworm +FROM rust:1.95-bookworm ADD --chmod=644 "https://apt.llvm.org/llvm-snapshot.gpg.key" /etc/apt/trusted.gpg.d/apt.llvm.org.asc COPY llvm.sources /etc/apt/sources.list.d/llvm.sources COPY install-llvm.sh . diff --git a/src/app.rs b/src/app.rs index f58f20b..06da615 100644 --- a/src/app.rs +++ b/src/app.rs @@ -400,10 +400,10 @@ impl ApplicationHandler for Application { } if !response.consumed { match event { - WindowEvent::KeyboardInput { event, .. } => { - if !self.app.handle_key_event(viewport_id, &event) { - self.controllers.handle_key_event(&event); - } + WindowEvent::KeyboardInput { event, .. } + if !self.app.handle_key_event(viewport_id, &event) => + { + self.controllers.handle_key_event(&event); } WindowEvent::Focused(new_focused) => { self.focused = new_focused.then_some(viewport_id);