mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-24 06:08:11 +08:00
Add struct field visualization to the editor message hierarchy tree visualization on the website (#2917)
* Fix Message Tree: Enforce Structure and Visibility * Code review * fix the erroreous ouputs * error handling for MessageHandler * Fix website visualization HTML generation * error handling for tuple-style message enum variant * cleanup * Update messages * Normalize BroadcastEvent --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
5ed45ead6f
commit
17d70dc60e
@@ -110,7 +110,7 @@ pub fn derive_widget_builder_impl(input_item: TokenStream2) -> syn::Result<Token
|
||||
// Construct the `widget_holder` function
|
||||
quote::quote! {
|
||||
#[doc = #widget_holder_doc_comment]
|
||||
pub fn widget_holder(self) -> crate::messages::layout::utility_types::layout_widget::WidgetHolder{
|
||||
pub fn widget_holder(self) -> crate::messages::layout::utility_types::layout_widget::WidgetHolder {
|
||||
crate::messages::layout::utility_types::layout_widget::WidgetHolder::new( crate::messages::layout::utility_types::layout_widget::Widget::#struct_name_ident(self))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user