From dd794f253a8f1a316c1b440e7cb5bade5f51efce Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 23 Nov 2023 15:45:41 +0100 Subject: [PATCH] Don't persist zoom_with_keyboard --- crates/egui/src/memory.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/egui/src/memory.rs b/crates/egui/src/memory.rs index 45b7f5e8..97057980 100644 --- a/crates/egui/src/memory.rs +++ b/crates/egui/src/memory.rs @@ -187,6 +187,7 @@ pub struct Options { /// presses Cmd+Plus, Cmd+Minus or Cmd+0, just like in a browser. /// /// This is `true` by default. + #[cfg_attr(feature = "serde", serde(skip))] pub zoom_with_keyboard: bool, /// Controls the tessellator.