Implement menu bar floating list menus (#163)

Progress towards #135
This commit is contained in:
Keavon Chambers
2021-05-31 11:51:32 -07:00
parent 3d646d2bc3
commit d1bf68320e
16 changed files with 482 additions and 58 deletions

View File

@@ -70,8 +70,8 @@ impl MessageHandler<ToolMessage, (&SvgDocument, &InputPreprocessor)> for ToolMes
}
ResetColors => {
let doc_data = &mut self.tool_state.document_tool_data;
doc_data.primary_color = Color::WHITE;
doc_data.secondary_color = Color::BLACK;
doc_data.primary_color = Color::BLACK;
doc_data.secondary_color = Color::WHITE;
}
message => {
let tool_type = match message {