diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-08-27 14:20:22 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-08-27 15:01:56 +0300 |
| commit | 5b26f58285a3a3c51054cbbfd6bba15cab14b2b2 (patch) | |
| tree | 4cc4ea3c651356ad7525cee12c8e89fbfcbd560a /src | |
| parent | 7115b214b23d2b316aab6f1017ef9701eb37a2b5 (diff) | |
| download | niri-5b26f58285a3a3c51054cbbfd6bba15cab14b2b2.tar.gz niri-5b26f58285a3a3c51054cbbfd6bba15cab14b2b2.tar.bz2 niri-5b26f58285a3a3c51054cbbfd6bba15cab14b2b2.zip | |
Fix typos
Diffstat (limited to 'src')
| -rw-r--r-- | src/layout/mod.rs | 2 | ||||
| -rw-r--r-- | src/layout/scrolling.rs | 2 | ||||
| -rw-r--r-- | src/layout/tile.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index d2653086..d68afe6a 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -4809,7 +4809,7 @@ impl<W: LayoutElement> Layout<W> { let wsid = ws.id(); // if `empty_workspace_above_first` is set and `ws` is the first - // worskpace on a monitor, another empty workspace needs to + // workspace on a monitor, another empty workspace needs to // be added before. // Conversely, if `ws` was the last workspace on a monitor, an // empty workspace needs to be added after. diff --git a/src/layout/scrolling.rs b/src/layout/scrolling.rs index 551fa692..17e6673f 100644 --- a/src/layout/scrolling.rs +++ b/src/layout/scrolling.rs @@ -4025,7 +4025,7 @@ impl<W: LayoutElement> Column<W> { pub fn offset_move_anim_current(&mut self, offset: f64) { if let Some(move_) = self.move_animation.as_mut() { // If the anim is almost done, there's little point trying to offset it; we can let - // things jump. If it turns out like a bad idea, we could restart the anim intead. + // things jump. If it turns out like a bad idea, we could restart the anim instead. let value = move_.anim.value(); if value > 0.001 { move_.from += offset / value; diff --git a/src/layout/tile.rs b/src/layout/tile.rs index 1555b129..78c33ac7 100644 --- a/src/layout/tile.rs +++ b/src/layout/tile.rs @@ -489,7 +489,7 @@ impl<W: LayoutElement> Tile<W> { pub fn offset_move_y_anim_current(&mut self, offset: f64) { if let Some(move_) = self.move_y_animation.as_mut() { // If the anim is almost done, there's little point trying to offset it; we can let - // things jump. If it turns out like a bad idea, we could restart the anim intead. + // things jump. If it turns out like a bad idea, we could restart the anim instead. let value = move_.anim.value(); if value > 0.001 { move_.from += offset / value; |
