From 76fb062107655eceac3dec7d987034ed6a609f9c Mon Sep 17 00:00:00 2001 From: Fabian Keller Date: Tue, 22 Oct 2024 09:57:39 +0200 Subject: [PATCH] Fix some docstrings in window module --- src/window.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/window.rs b/src/window.rs index 422fd48e8..cb5bc08b5 100644 --- a/src/window.rs +++ b/src/window.rs @@ -117,7 +117,7 @@ pub trait PlatformWindowImplementation { self.winit().map_or(true, |win| win.is_resizable()) } - /// Returns true if the window can have its size changed. + /// Returns the underlying window theme. /// /// The provided implementation returns [`winit::window::Window::theme`], or /// dark if this window has no winit window. @@ -248,7 +248,7 @@ pub trait PlatformWindow { fn handle(&self) -> WindowHandle; /// Returns the unique id of the [`Kludgine`] instance used by this window. fn kludgine_id(&self) -> KludgineId; - /// Returns the dynamic that is synchrnoized with the window's focus. + /// Returns the dynamic that is synchronized with the window's focus. fn focused(&self) -> &Dynamic; /// Returns the dynamic that is synchronized with the window's occlusion /// status. @@ -800,7 +800,7 @@ where self } - /// Sets `position` to be a dynamic synchronized with this window's outer + /// Sets `position` to be a dynamic synchronized with this window's outer /// position. /// /// If `automatic_layout` is true, the initial value of `position` will be @@ -829,7 +829,7 @@ where self } - /// Sets `position` to be a dynamic synchronized with this window's inner + /// Sets `position` to be a dynamic synchronized with this window's inner /// position. /// /// When the window is moved, this dynamic will contain its new position.