From 83c8f43c57316fc66bb31af5834eb773f6b8e95a Mon Sep 17 00:00:00 2001 From: Nova Date: Sat, 10 Feb 2024 18:12:29 -0500 Subject: [PATCH] fix(panel_item): fix set_toplevel_size signal --- src/nodes/items/panel.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/nodes/items/panel.rs b/src/nodes/items/panel.rs index aaaecc35..bede0c04 100644 --- a/src/nodes/items/panel.rs +++ b/src/nodes/items/panel.rs @@ -253,10 +253,7 @@ impl PanelItem { node.add_local_signal("apply_surface_material", Self::apply_surface_material_flex); node.add_local_signal("close_toplevel", Self::close_toplevel_flex); node.add_local_signal("auto_size_toplevel", Self::auto_size_toplevel_flex); - node.add_local_signal( - "set_toplevel_size_changed", - Self::set_toplevel_size_changed_flex, - ); + node.add_local_signal("set_toplevel_size", Self::set_toplevel_size_flex); node.add_local_signal("pointer_motion", Self::pointer_motion_flex); node.add_local_signal("pointer_button", Self::pointer_button_flex); @@ -412,7 +409,7 @@ impl PanelItem { flex_no_args!(close_toplevel_flex, close_toplevel); flex_no_args!(auto_size_toplevel_flex, auto_size_toplevel); - flex_deserialize!(set_toplevel_size_changed_flex, set_toplevel_size); + flex_deserialize!(set_toplevel_size_flex, set_toplevel_size); fn pointer_motion_flex( node: Arc,