Merge PR #306: surface About command in Manage ribbon (#302)

This commit is contained in:
Hakan Seven committed 2026-07-07 23:36:43 +03:00
commit efa4bdd5e1
3 files changed
+6 -2

No files matched your search

-1
View File
@@ -1,6 +1,5 @@
// Draw module — Draw, Modify, Annotation and Layer tools. // Draw module — Draw, Modify, Annotation and Layer tools.
mod about;
mod changelog; mod changelog;
pub mod clipboard; pub mod clipboard;
pub mod defaults; pub mod defaults;
@@ -1,6 +1,5 @@
use crate::modules::{IconKind, ModuleEvent, ToolDef}; use crate::modules::{IconKind, ModuleEvent, ToolDef};
#[allow(dead_code)]
pub fn tool() -> ToolDef { pub fn tool() -> ToolDef {
ToolDef { ToolDef {
id: "ABOUT", id: "ABOUT",
+6
View File
@@ -1,5 +1,6 @@
// Manage module — customization and drawing cleanup tools. // Manage module — customization and drawing cleanup tools.
mod about;
mod audit; mod audit;
mod cui_export; mod cui_export;
mod cui_import; mod cui_import;
@@ -75,6 +76,11 @@ impl CadModule for ManageModule {
RibbonItem::Tool(audit::tool()), RibbonItem::Tool(audit::tool()),
], ],
}, },
// ── Application ───────────────────────────────────────────────────
RibbonGroup {
title: "Application",
tools: vec![RibbonItem::LargeTool(about::tool())],
},
] ]
}) })
} }