Fix typos
Browse files at this commit5b26f58285a3a3c51054cbbfd6bba15cab14b2b2Parent: 7115b213 changed files +3 -3
- src/layout/mod.rs +1 -1
- src/layout/scrolling.rs +1 -1
- src/layout/tile.rs +1 -1
src/layout/mod.rsmodified+1 -1
| @@ -4809,7 +4809,7 @@ impl<W: LayoutElement> Layout<W> { | |||
| 4809 | let wsid = ws.id(); | 4809 | let wsid = ws.id(); |
| 4810 | 4810 | ||
| 4811 | // if `empty_workspace_above_first` is set and `ws` is the first | 4811 | // if `empty_workspace_above_first` is set and `ws` is the first |
| 4812 | - // worskpace on a monitor, another empty workspace needs to | 4812 | + // workspace on a monitor, another empty workspace needs to |
| 4813 | // be added before. | 4813 | // be added before. |
| 4814 | // Conversely, if `ws` was the last workspace on a monitor, an | 4814 | // Conversely, if `ws` was the last workspace on a monitor, an |
| 4815 | // empty workspace needs to be added after. | 4815 | // empty workspace needs to be added after. |
src/layout/scrolling.rsmodified+1 -1
| @@ -4025,7 +4025,7 @@ impl<W: LayoutElement> Column<W> { | |||
| 4025 | pub fn offset_move_anim_current(&mut self, offset: f64) { | 4025 | pub fn offset_move_anim_current(&mut self, offset: f64) { |
| 4026 | if let Some(move_) = self.move_animation.as_mut() { | 4026 | if let Some(move_) = self.move_animation.as_mut() { |
| 4027 | // If the anim is almost done, there's little point trying to offset it; we can let | 4027 | // If the anim is almost done, there's little point trying to offset it; we can let |
| 4028 | - // things jump. If it turns out like a bad idea, we could restart the anim intead. | 4028 | + // things jump. If it turns out like a bad idea, we could restart the anim instead. |
| 4029 | let value = move_.anim.value(); | 4029 | let value = move_.anim.value(); |
| 4030 | if value > 0.001 { | 4030 | if value > 0.001 { |
| 4031 | move_.from += offset / value; | 4031 | move_.from += offset / value; |
src/layout/tile.rsmodified+1 -1
| @@ -489,7 +489,7 @@ impl<W: LayoutElement> Tile<W> { | |||
| 489 | pub fn offset_move_y_anim_current(&mut self, offset: f64) { | 489 | pub fn offset_move_y_anim_current(&mut self, offset: f64) { |
| 490 | if let Some(move_) = self.move_y_animation.as_mut() { | 490 | if let Some(move_) = self.move_y_animation.as_mut() { |
| 491 | // If the anim is almost done, there's little point trying to offset it; we can let | 491 | // If the anim is almost done, there's little point trying to offset it; we can let |
| 492 | - // things jump. If it turns out like a bad idea, we could restart the anim intead. | 492 | + // things jump. If it turns out like a bad idea, we could restart the anim instead. |
| 493 | let value = move_.anim.value(); | 493 | let value = move_.anim.value(); |
| 494 | if value > 0.001 { | 494 | if value > 0.001 { |
| 495 | move_.from += offset / value; | 495 | move_.from += offset / value; |