mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-05 23:40:07 +01:00
Remove panel nodes that don't have panels
Replace with Control nodes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
extends Panel
|
||||
extends Control
|
||||
|
||||
func _on_english_pressed():
|
||||
TranslationServer.set_locale("en")
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
[ext_resource path="res://flag_uk.png" type="Texture" id=4]
|
||||
[ext_resource path="res://hello_en.wav" type="AudioStream" id=5]
|
||||
|
||||
[node name="TranslationDemo" type="Panel"]
|
||||
[node name="TranslationDemo" type="Control"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
@@ -18,10 +18,6 @@ margin_bottom = 300.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"__editor_plugin_screen__": "2D",
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="English" type="Button" parent="."]
|
||||
margin_left = 32.0
|
||||
|
||||
Reference in New Issue
Block a user