mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-22 18:54:19 +01:00
integrate column moving
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -72,6 +72,9 @@ impl SwitchingAction {
|
||||
ColumnsAction::Remove(index) => {
|
||||
get_active_columns_mut(ctx.accounts, decks_cache).delete_column(index)
|
||||
}
|
||||
ColumnsAction::Switch(from, to) => {
|
||||
get_active_columns_mut(ctx.accounts, decks_cache).move_col(from, to);
|
||||
}
|
||||
},
|
||||
SwitchingAction::Decks(decks_action) => match *decks_action {
|
||||
DecksAction::Switch(index) => {
|
||||
|
||||
Reference in New Issue
Block a user