refactor: name diff orientations vertical and horizontal
This commit is contained in:
+1
-2
@@ -1,12 +1,11 @@
|
||||
//! Frontend-independent binary pane layout and spatial focus navigation.
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq, serde::Deserialize)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum SplitAxis {
|
||||
/// Above/below.
|
||||
#[serde(rename = "above_below")]
|
||||
Horizontal,
|
||||
/// Left/right.
|
||||
#[serde(rename = "left_right")]
|
||||
Vertical,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user