fix #208 add shortcut to skip button
This commit is contained in:
parent
9b8541b3d5
commit
e9c1c73944
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=13 format=3 uid="uid://g2a27jwdapai"]
|
[gd_scene load_steps=15 format=3 uid="uid://g2a27jwdapai"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://bbia2hcdwctyn" path="res://logic-scenes/card_burner/card_burner.gd" id="1_copuj"]
|
[ext_resource type="Script" uid="uid://bbia2hcdwctyn" path="res://logic-scenes/card_burner/card_burner.gd" id="1_copuj"]
|
||||||
[ext_resource type="Script" uid="uid://2loic2eeec5b" path="res://logic-scenes/board/card.gd" id="2_l4ogr"]
|
[ext_resource type="Script" uid="uid://2loic2eeec5b" path="res://logic-scenes/board/card.gd" id="2_l4ogr"]
|
||||||
|
|
@ -16,6 +16,12 @@ device = -1
|
||||||
button_index = 2
|
button_index = 2
|
||||||
pressed = true
|
pressed = true
|
||||||
|
|
||||||
|
[sub_resource type="InputEventAction" id="InputEventAction_23lqb"]
|
||||||
|
action = &"skip"
|
||||||
|
|
||||||
|
[sub_resource type="Shortcut" id="Shortcut_57mhv"]
|
||||||
|
events = [SubResource("InputEventAction_23lqb")]
|
||||||
|
|
||||||
[sub_resource type="Gradient" id="Gradient_ckmi5"]
|
[sub_resource type="Gradient" id="Gradient_ckmi5"]
|
||||||
colors = PackedColorArray(0, 0, 0, 1, 0, 0, 0, 1)
|
colors = PackedColorArray(0, 0, 0, 1, 0, 0, 0, 1)
|
||||||
|
|
||||||
|
|
@ -200,6 +206,7 @@ metadata/_custom_type_script = "uid://bbs1u7ojno7xo"
|
||||||
[node name="SkipButton" type="Button" parent="Control/HSplitContainer"]
|
[node name="SkipButton" type="Button" parent="Control/HSplitContainer"]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
shortcut = SubResource("Shortcut_57mhv")
|
||||||
text = "Keep all thoughts"
|
text = "Keep all thoughts"
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="Control"]
|
[node name="Sprite2D" type="Sprite2D" parent="Control"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue