diff options
Diffstat (limited to 'src/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/state.rs b/src/app/state.rs index c55b5cd8..9f2e8e5b 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -461,6 +461,9 @@ pub(crate) enum DragTarget { source_ws_idx: usize, insert_idx: Option<usize>, }, + WorkspaceListScrollbar { + grab_row_offset: u16, + }, PaneSplit { path: Vec<bool>, direction: Direction, @@ -562,6 +565,7 @@ pub struct AppState { pub onboarding_list: SelectionListState, pub release_notes: Option<ReleaseNotesState>, pub keybind_help: KeybindHelpState, + pub workspace_scroll: usize, // View geometry (computed before render, consumed by render + mouse) pub view: ViewState, pub(crate) drag: Option<DragState>, @@ -660,6 +664,7 @@ impl AppState { onboarding_list: SelectionListState::new(1), release_notes: None, keybind_help: KeybindHelpState { scroll: 0 }, + workspace_scroll: 0, view: ViewState { sidebar_rect: Rect::default(), workspace_card_areas: Vec::new(), |
