From 63469f9537395b4628ecc422f8d0f00576cdfc6c Mon Sep 17 00:00:00 2001 From: Rendo Date: Mon, 28 Jul 2025 19:03:30 +0500 Subject: [PATCH] reset shortcut --- scenes/gui/choose_your_seeds.tscn | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scenes/gui/choose_your_seeds.tscn b/scenes/gui/choose_your_seeds.tscn index 114da83..50f1fab 100644 --- a/scenes/gui/choose_your_seeds.tscn +++ b/scenes/gui/choose_your_seeds.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=24 format=3 uid="uid://dpxxjfd5lv5sv"] +[gd_scene load_steps=26 format=3 uid="uid://dpxxjfd5lv5sv"] [ext_resource type="Theme" uid="uid://e8n88g31w7x7" path="res://assets/themes/ChooseYourSeeds.tres" id="1_bfo8i"] [ext_resource type="Texture2D" uid="uid://dr8a0rx42o3qy" path="res://assets/sprites/gui/ChooseYourSeeds/PlantFrame.tres" id="2_so2bw"] @@ -25,6 +25,13 @@ viewport_path = NodePath("Panel/MarginContainer/VBoxContainer/HBoxContainer/Fram font_size = 24 font_color = Color(0, 0, 0, 1) +[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_f8xw6"] +button_index = 2 +pressed = true + +[sub_resource type="Shortcut" id="Shortcut_kwnqh"] +events = [SubResource("InputEventJoypadButton_f8xw6")] + [sub_resource type="AtlasTexture" id="AtlasTexture_kwnqh"] atlas = ExtResource("8_f8xw6") region = Rect2(626, 210, 31, 31) @@ -168,6 +175,7 @@ script = ExtResource("7_k6b6g") layout_mode = 2 focus_neighbor_top = NodePath("../LevelRunButton") focus_neighbor_bottom = NodePath("../AlmanachButton") +shortcut = SubResource("Shortcut_kwnqh") icon = SubResource("AtlasTexture_kwnqh") icon_alignment = 1 script = ExtResource("9_kwnqh")