mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-08 22:15:14 +02:00
fix(cli): correct cycle-layout prev/next seq
This commit is contained in:
@@ -164,14 +164,14 @@ impl DefaultLayout {
|
|||||||
#[must_use]
|
#[must_use]
|
||||||
pub const fn cycle_previous(self) -> Self {
|
pub const fn cycle_previous(self) -> Self {
|
||||||
match self {
|
match self {
|
||||||
Self::BSP => Self::UltrawideVerticalStack,
|
Self::RightMainVerticalStack => Self::Grid,
|
||||||
|
Self::Grid => Self::UltrawideVerticalStack,
|
||||||
Self::UltrawideVerticalStack => Self::HorizontalStack,
|
Self::UltrawideVerticalStack => Self::HorizontalStack,
|
||||||
Self::HorizontalStack => Self::VerticalStack,
|
Self::HorizontalStack => Self::VerticalStack,
|
||||||
Self::VerticalStack => Self::Rows,
|
Self::VerticalStack => Self::Rows,
|
||||||
Self::Rows => Self::Columns,
|
Self::Rows => Self::Columns,
|
||||||
Self::Columns => Self::Grid,
|
Self::Columns => Self::BSP,
|
||||||
Self::Grid => Self::RightMainVerticalStack,
|
Self::BSP => Self::RightMainVerticalStack,
|
||||||
Self::RightMainVerticalStack => Self::BSP,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user