Skip to content

Commit

Permalink
Merge pull request #194 from bluenote10/fix_some_docstring_in_window
Browse files Browse the repository at this point in the history
Fix some docstrings in window module
  • Loading branch information
ecton authored Oct 22, 2024
2 parents f08b706 + 76fb062 commit 513d495
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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<bool>;
/// Returns the dynamic that is synchronized with the window's occlusion
/// status.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 513d495

Please sign in to comment.