From 0691cc7e60e351f4b3bc26b294dae71a2ebdb07a Mon Sep 17 00:00:00 2001 From: Zach Bateman Date: Mon, 20 Nov 2023 09:33:34 -0600 Subject: [PATCH] Fix TopBottomPanel doc comment to reference TopBottomPanel instead of SidePanel --- crates/egui/src/containers/panel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/containers/panel.rs b/crates/egui/src/containers/panel.rs index fc5f4299f23..4a84c3e3a44 100644 --- a/crates/egui/src/containers/panel.rs +++ b/crates/egui/src/containers/panel.rs @@ -605,7 +605,7 @@ impl TopBottomPanel { self } - /// The initial height of the [`SidePanel`]. + /// The initial height of the [`TopBottomPanel`]. /// Defaults to [`style::Spacing::interact_size`].y. #[inline] pub fn default_height(mut self, default_height: f32) -> Self {