WIP
This commit is contained in:
parent
8f12489937
commit
6645323f1b
6 changed files with 92 additions and 17 deletions
|
@ -92,6 +92,16 @@ pub enum DockPosition {
|
|||
Right,
|
||||
}
|
||||
|
||||
impl From<settings::DockPosition> for DockPosition {
|
||||
fn from(value: settings::DockPosition) -> Self {
|
||||
match value {
|
||||
settings::DockPosition::Left => Self::Left,
|
||||
settings::DockPosition::Bottom => Self::Bottom,
|
||||
settings::DockPosition::Right => Self::Right,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl DockPosition {
|
||||
fn to_resizable_side(self) -> Side {
|
||||
match self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue