mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-05 00:38:11 +08:00
Box the widget: Widget field of WidgetInstance (#3506)
Box the `pub widget: Box<Widget>` field of `WidgetInstance`
This commit is contained in:
@@ -594,7 +594,7 @@ mod test {
|
||||
if let FrontendMessage::UpdateDialogColumn1 { diff } = response {
|
||||
if let DiffUpdate::Layout(sub_layout) = &diff[0].new_value {
|
||||
if let LayoutGroup::Row { widgets } = &sub_layout.0[0] {
|
||||
if let Widget::TextLabel(TextLabel { value, .. }) = &widgets[0].widget {
|
||||
if let Widget::TextLabel(TextLabel { value, .. }) = &*widgets[0].widget {
|
||||
print_problem_to_terminal_on_failure(value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user