瀏覽代碼

:lipstick: Shrink the popup size to the pause message

DricomDragon 2 年之前
父節點
當前提交
8488f61a63
共有 1 個文件被更改,包括 8 次插入6 次删除
  1. 8 6
      godot/main.tscn

+ 8 - 6
godot/main.tscn

@@ -68,12 +68,14 @@ title = "Balls"
 
 [node name="PausePopup" type="Popup" parent="UI"]
 pause_mode = 2
-anchor_right = 1.0
-anchor_bottom = 0.8
-margin_left = 40.0
-margin_top = 40.0
-margin_right = -40.0
-margin_bottom = -40.0
+anchor_left = 0.5
+anchor_top = 0.5
+anchor_right = 0.5
+anchor_bottom = 0.5
+margin_left = -100.0
+margin_top = -25.0
+margin_right = 100.0
+margin_bottom = 25.0
 script = ExtResource( 10 )
 
 [node name="PauseMessage" parent="UI/PausePopup" instance=ExtResource( 1 )]