mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-05 16:37:09 +00:00
fix(control): deselect automatically on update_current_folder_on_selected_displays
This commit is contained in:
@@ -55,6 +55,9 @@ export async function filter_file_selection_for_current_selected_displays() {
|
||||
}
|
||||
|
||||
export async function update_current_folder_on_selected_displays() {
|
||||
selected_file_ids.update(() => {
|
||||
return [];
|
||||
});
|
||||
const current_path = get(current_file_path);
|
||||
for (const display_id of get(selected_display_ids)) {
|
||||
const display = get_display_by_id(display_id, get(displays));
|
||||
|
||||
Reference in New Issue
Block a user