Skip to content

Commit

Permalink
Cleanup keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrlabs committed Aug 5, 2023
1 parent 96be93a commit a9c3d46
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 41 deletions.
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Changing the application language does not require a restart now
- Improved translations: Spanish, Brasilian Portuguese
- Improved UI auto scaling, especially for Windows and OSX
- Updated to Godot 3.5.2

## [0.5.0] - 2022-06-12

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func _compare_second_element(a: Array, b: Array) -> bool:
func _populate_input_list() -> void:
for c in _grid.get_children():
_grid.remove_child(c)
c.queue_free()

var collected_keybinding_args := []
for action in Utils.bindable_actions():
Expand Down
38 changes: 0 additions & 38 deletions lorien/UI/Dialogs/KeyBindingsLine.tscn

This file was deleted.

5 changes: 2 additions & 3 deletions lorien/UI/Dialogs/SettingsDialog.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[ext_resource path="res://UI/Themes/theme_dark.tres" type="Theme" id=1]
[ext_resource path="res://UI/Dialogs/SettingsDialog.gd" type="Script" id=2]
[ext_resource path="res://UI/Components/DelayedSpinBox.gd" type="Script" id=3]
[ext_resource path="res://UI/Dialogs/KeyBindingsList.gd" type="Script" id=4]
[ext_resource path="res://UI/Components/KeyBindingsList.gd" type="Script" id=4]
[ext_resource path="res://UI/Dialogs/AddKeyDialog.tscn" type="PackedScene" id=5]

[sub_resource type="StyleBoxEmpty" id=1]
Expand All @@ -13,7 +13,6 @@
[sub_resource type="StyleBoxEmpty" id=3]

[node name="SettingsDialog" type="WindowDialog"]
visible = true
margin_right = 520.0
margin_bottom = 250.0
rect_min_size = Vector2( 520, 270 )
Expand Down Expand Up @@ -46,7 +45,6 @@ __meta__ = {
}

[node name="General" type="Control" parent="MarginContainer/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 27.0
Expand Down Expand Up @@ -436,6 +434,7 @@ text = "SETTINGS_RESTART_NOTICE"
align = 1

[node name="Keybindings" type="Control" parent="MarginContainer/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 27.0
Expand Down

0 comments on commit a9c3d46

Please sign in to comment.