feat(ui): implement themed 5-section ribbon object color dropdown

This commit is contained in:
Karim Jerbi committed 2026-09-15 13:54:56 +01:00
1 parent 5f423c966a
commit 612124b84b
7 files changed
+381 -39

No files matched your search

+11
View File
@@ -1669,4 +1669,15 @@ mod tests {
Some("MTP")
);
}
#[test]
fn test_open_color_dropdown() {
use crate::app::Message;
let mut app = OpenCADStudio::new_for_test();
app.automation_op(r#"{"op":"new"}"#);
let wid = app.main_window.unwrap_or_else(iced::window::Id::unique);
let _ = app.view(wid);
let _ = app.update(Message::ToggleRibbonDropdown("PROP_COLOR".to_string()));
let _ = app.view(wid);
}
}