Skip to content

Commit

Permalink
fix(cli): correct cycle-layout prev/next seq
Browse files Browse the repository at this point in the history
  • Loading branch information
npc203 authored and LGUG2Z committed Aug 6, 2024
1 parent 45a5941 commit 6d038b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions komorebi/src/core/default_layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,14 @@ impl DefaultLayout {
#[must_use]
pub const fn cycle_previous(self) -> Self {
match self {
Self::BSP => Self::UltrawideVerticalStack,
Self::RightMainVerticalStack => Self::Grid,
Self::Grid => Self::UltrawideVerticalStack,
Self::UltrawideVerticalStack => Self::HorizontalStack,
Self::HorizontalStack => Self::VerticalStack,
Self::VerticalStack => Self::Rows,
Self::Rows => Self::Columns,
Self::Columns => Self::Grid,
Self::Grid => Self::RightMainVerticalStack,
Self::RightMainVerticalStack => Self::BSP,
Self::Columns => Self::BSP,
Self::BSP => Self::RightMainVerticalStack,
}
}
}

0 comments on commit 6d038b8

Please sign in to comment.