@@ -24,6 +24,7 @@ mouse_filter = 2
2424
2525[node name ="Window" type ="Control" parent ="WindowContainer" ]
2626unique_name_in_owner = true
27+ visible = false
2728layout_mode = 2
2829anchors_preset = 0
2930offset_right = 1152.0
@@ -60,9 +61,31 @@ theme_override_constants/margin_top = 4
6061theme_override_constants/margin_right = 4
6162theme_override_constants/margin_bottom = 4
6263
63- [node name ="ZoomButton" type ="Button" parent ="WindowContainer/Overlay/MarginContainer" ]
64+ [node name ="ZoomButtons" type ="HBoxContainer" parent ="WindowContainer/Overlay/MarginContainer" ]
65+ unique_name_in_owner = true
66+ visible = false
67+ layout_mode = 2
68+
69+ [node name ="ZoomOutButton" type ="Button" parent ="WindowContainer/Overlay/MarginContainer/ZoomButtons" ]
70+ unique_name_in_owner = true
71+ modulate = Color (1 , 1 , 1 , 0.470588 )
72+ custom_minimum_size = Vector2 (25 , 0 )
73+ layout_mode = 2
74+ focus_mode = 0
75+ theme_override_font_sizes/font_size = 24
76+
77+ [node name ="ZoomButton" type ="Button" parent ="WindowContainer/Overlay/MarginContainer/ZoomButtons" ]
78+ unique_name_in_owner = true
79+ modulate = Color (1 , 1 , 1 , 0.470588 )
80+ layout_mode = 2
81+ focus_mode = 0
82+ theme_override_font_sizes/font_size = 24
83+ text = "1.0x"
84+
85+ [node name ="ZoomInButton" type ="Button" parent ="WindowContainer/Overlay/MarginContainer/ZoomButtons" ]
6486unique_name_in_owner = true
6587modulate = Color (1 , 1 , 1 , 0.470588 )
88+ custom_minimum_size = Vector2 (25 , 0 )
6689layout_mode = 2
6790focus_mode = 0
6891theme_override_font_sizes/font_size = 24
@@ -140,7 +163,9 @@ theme_type_variation = &"InspectorActionButton"
140163text = "Override Block Code"
141164icon = ExtResource ("2_710vn" )
142165
143- [connection signal ="pressed" from ="WindowContainer/Overlay/MarginContainer/ZoomButton" to ="." method ="_on_zoom_button_pressed" ]
166+ [connection signal ="pressed" from ="WindowContainer/Overlay/MarginContainer/ZoomButtons/ZoomOutButton" to ="." method ="_on_zoom_out_button_pressed" ]
167+ [connection signal ="pressed" from ="WindowContainer/Overlay/MarginContainer/ZoomButtons/ZoomButton" to ="." method ="_on_zoom_button_pressed" ]
168+ [connection signal ="pressed" from ="WindowContainer/Overlay/MarginContainer/ZoomButtons/ZoomInButton" to ="." method ="_on_zoom_in_button_pressed" ]
144169[connection signal ="pressed" from ="SelectedNodeBox/ButtonsBox/AddBlockCodeButton" to ="." method ="_on_add_block_code_button_pressed" ]
145170[connection signal ="pressed" from ="SelectedNodeWithBlockCodeBox/ButtonsBox/OpenSceneButton" to ="." method ="_on_open_scene_button_pressed" ]
146171[connection signal ="pressed" from ="SelectedNodeWithBlockCodeBox/ButtonsBox/ReplaceBlockCodeButton" to ="." method ="_on_replace_block_code_button_pressed" ]
0 commit comments