From 6778a8c308f120ed1a9c8c261a05f971873919d8 Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 12 Feb 2023 19:33:02 -0600 Subject: [PATCH] Update Egui to 0.21 --- CHANGELOG.md | 6 ++++++ Cargo.toml | 2 +- src/systems.rs | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e75a5241a..c620fda97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Added + +- Update Egui to 0.21 + ## [0.19.0] - 15-Jan-2023 ### Added diff --git a/Cargo.toml b/Cargo.toml index 85933c494..cc31649bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ default_fonts = ["egui/default_fonts"] [dependencies] bevy = { version = "0.9.0", default-features = false, features = ["bevy_render", "bevy_core_pipeline", "bevy_asset"] } -egui = { version = "0.20.0", default-features = false, features = ["bytemuck"] } +egui = { version = "0.21.0", default-features = false, features = ["bytemuck"] } webbrowser = { version = "0.8.2", optional = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] diff --git a/src/systems.rs b/src/systems.rs index 419f875ae..4146e8e41 100644 --- a/src/systems.rs +++ b/src/systems.rs @@ -267,6 +267,7 @@ pub fn process_input_system( let egui_event = egui::Event::Key { key, pressed, + repeat: false, modifiers, }; focused_input.events.push(egui_event);