Merge PR #1573 from ramox81/codex/blocks-palette-parity: Blocks palette tabs, insertion options, drag insertion and -INSERT

This commit is contained in:
Hakan Seven committed 2026-10-02 10:10:51 +03:00
commit 7a6908c7ca
49 files changed
+3401 -573

No files matched your search

+4
View File
@@ -92,6 +92,7 @@ fn reorder_insertion_index(from: usize, to: usize, after: bool, len: usize) -> O
mod command;
mod context_menu;
mod blocks_palette;
mod dialog;
mod dynamic;
mod file;
@@ -5765,6 +5766,9 @@ impl OpenCADStudio {
if self.tabs[self.active_tab].is_start {
self.ribbon.close_dropdown();
} else {
if id == crate::modules::insert::insert_block::GALLERY_ID {
self.refresh_block_palette();
}
self.ribbon.toggle_dropdown(&id);
}
Task::none()