From 60b4f5e3fe00fe3f840374846dfd241817e6bf1e Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Sat, 7 Jan 2023 20:51:01 +0100 Subject: [PATCH] changelog & doc fix for #2539 (Window::default_open) --- CHANGELOG.md | 1 + crates/egui/src/containers/window.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d59b8bfa25e..3adff09a184 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ NOTE: [`epaint`](crates/epaint/CHANGELOG.md), [`eframe`](crates/eframe/CHANGELOG * Add `Plot::clamp_grid` to only show grid where there is data ([#2480](https://github.com/emilk/egui/pull/2480)). * Add `ScrollArea::drag_to_scroll` if you want to turn off that feature. * Add `Response::on_hover_and_drag_cursor`. +* Add `Window::default_open` ([#2539](https://github.com/emilk/egui/pull/2539)) ### Changed 🔧 * Improved plot grid appearance ([#2412](https://github.com/emilk/egui/pull/2412)). diff --git a/crates/egui/src/containers/window.rs b/crates/egui/src/containers/window.rs index a16ad8603be..1b5ffc6fae6 100644 --- a/crates/egui/src/containers/window.rs +++ b/crates/egui/src/containers/window.rs @@ -10,7 +10,7 @@ use super::*; /// /// You can customize: /// * title -/// * default, minimum, maximum and/or fixed size +/// * default, minimum, maximum and/or fixed size, collapsed/expanded /// * if the window has a scroll area (off by default) /// * if the window can be collapsed (minimized) to just the title bar (yes, by default) /// * if there should be a close button (none by default)