diff --git a/.github/workflows/game_ci.yml b/.github/workflows/game_ci.yml index 00b200b..3f266f7 100644 --- a/.github/workflows/game_ci.yml +++ b/.github/workflows/game_ci.yml @@ -1,7 +1,7 @@ name: "Godot 4.1.2 CI/CD" env: - GODOT_VERSION: 4.1.2 + GODOT_VERSION: 4.2.1 on: workflow_dispatch: diff --git a/grid_inventory_system/scenes/ItemGraphic.tscn b/grid_inventory_system/scenes/ItemGraphic.tscn index e3fbc2c..da9d891 100644 --- a/grid_inventory_system/scenes/ItemGraphic.tscn +++ b/grid_inventory_system/scenes/ItemGraphic.tscn @@ -3,5 +3,5 @@ [ext_resource type="Script" path="res://grid_inventory_system/scripts/ItemGraphic.gd" id="1_bih4t"] [node name="Item" type="TextureRect"] -expand_mode = 2 +expand_mode = 3 script = ExtResource("1_bih4t") diff --git a/grid_inventory_system/scripts/InventoryController.gd b/grid_inventory_system/scripts/InventoryController.gd index 661b229..87ccf67 100644 --- a/grid_inventory_system/scripts/InventoryController.gd +++ b/grid_inventory_system/scripts/InventoryController.gd @@ -40,6 +40,9 @@ func _process(delta): inventory_open = false inventory_background.visible=false + #if(Input.is_action_just_pressed(inventory_rotate_input) and inventory_open==true and inventory_item_dragged != null): + # inventory_item_dragged.rotation_degrees = inventory_item_dragged.rotation_degrees + 90.0 + var cursor_pos = get_global_mouse_position() if Input.is_action_just_pressed("inventory_grab"):