Skip to content

Commit 905752d

Browse files
committed
updated btns
1 parent d904927 commit 905752d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

game_boards/board_space/game_board/board_square_0.tscn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ offset_right = 64.0
1111
offset_bottom = 64.0
1212

1313
[node name="Panel" type="Panel" parent="."]
14+
visible = false
1415
layout_mode = 1
1516
anchors_preset = 15
1617
anchor_right = 1.0

game_boards/board_space/game_space.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func _on_newgame_button_pressed():
3535
game_board.new_game()
3636

3737
func _on_btn_clear_debug_labels_pressed():
38-
game_board.debug_clear_debug_labels()
38+
visible = false
3939

4040
func _on_btn_make_vert_pressed():
4141
game_board.debug_make_gem_grid()

game_boards/board_space/game_space.tscn

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
[ext_resource type="Theme" uid="uid://c68uhjmxln8ao" path="res://themes/game_msg_top.tres" id="19_iidij"]
2222

2323
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_103kv"]
24-
bg_color = Color(0, 0, 0, 0.533333)
24+
bg_color = Color(0, 0, 0, 0.933333)
2525

2626
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_k3sk6"]
2727
bg_color = Color(0, 0, 0, 0.6)
@@ -397,24 +397,23 @@ text = "NEW GAME"
397397
horizontal_alignment = 1
398398
vertical_alignment = 1
399399

400-
[node name="BtnClearDebugLabels" type="TextureButton" parent="."]
401-
visible = false
400+
[node name="BtnQuitGame" type="TextureButton" parent="."]
402401
offset_left = 1657.0
403402
offset_top = 393.0
404403
offset_right = 2816.0
405404
offset_bottom = 751.0
406405
scale = Vector2(0.25, 0.25)
407406
texture_normal = ExtResource("16_20lur")
408407

409-
[node name="Label" type="Label" parent="BtnClearDebugLabels"]
408+
[node name="Label" type="Label" parent="BtnQuitGame"]
410409
layout_mode = 1
411410
anchors_preset = 15
412411
anchor_right = 1.0
413412
anchor_bottom = 1.0
414413
grow_horizontal = 2
415414
grow_vertical = 2
416415
theme_override_font_sizes/font_size = 120
417-
text = "Clear Labels"
416+
text = "Quit"
418417
horizontal_alignment = 1
419418
vertical_alignment = 1
420419

@@ -514,5 +513,5 @@ autowrap_mode = 0
514513
shortcut_keys_enabled = false
515514

516515
[connection signal="pressed" from="BtnNewGame" to="." method="_on_newgame_button_pressed"]
517-
[connection signal="pressed" from="BtnClearDebugLabels" to="." method="_on_btn_clear_debug_labels_pressed"]
516+
[connection signal="pressed" from="BtnQuitGame" to="." method="_on_btn_clear_debug_labels_pressed"]
518517
[connection signal="pressed" from="BtnMatchCol" to="." method="_on_btn_make_vert_pressed"]

0 commit comments

Comments
 (0)