Menu bar definition in backend (#681)

* initial menu layout working

* removed api.rs functions

* no action shortcut for no-op

* code review

* nitpicks
This commit is contained in:
mfish33
2022-06-18 17:46:23 -07:00
committed by GitHub
parent 63fd5e87ab
commit 537182df27
35 changed files with 781 additions and 475 deletions
+2 -2
View File
@@ -438,7 +438,7 @@ mod test {
#[test]
fn check_if_graphite_file_version_upgrade_is_needed() {
use crate::layout::widgets::{LayoutRow, TextLabel, Widget};
use crate::layout::widgets::{LayoutGroup, TextLabel, Widget};
init_logger();
set_uuid_seed(0);
@@ -451,7 +451,7 @@ mod test {
for response in responses {
if let FrontendMessage::UpdateDialogDetails { layout_target: _, layout } = response {
if let LayoutRow::Row { widgets } = &layout[0] {
if let LayoutGroup::Row { widgets } = &layout[0] {
if let Widget::TextLabel(TextLabel { value, .. }) = &widgets[0].widget {
println!();
println!("-------------------------------------------------");