From ae62782489aab88c60eea64b37cba22ceeb9df22 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Thu, 19 May 2022 14:21:14 +0300 Subject: [PATCH] [Keychain] - Hide Open Folder button on HTML5 --- addons/README.md | 2 +- addons/keychain/ShortcutEdit.gd | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/README.md b/addons/README.md index b4067070d..6d72730b1 100644 --- a/addons/README.md +++ b/addons/README.md @@ -3,7 +3,7 @@ ## Keychain - Upstream: https://github.com/Orama-Interactive/Keychain -- Version: Based on git commit 751540203124426947d69bd81f50fea07eded91d with slight modifications in Keychain.gd and ShortcutEdit.tscn. +- Version: Based on git commit 29e80383e46acb5478696d40990bc3624a6920c4 with slight modifications in Keychain.gd and ShortcutEdit.tscn. - License: [MIT](https://github.com/Orama-Interactive/Keychain/blob/main/LICENSE) ## gdgifexporter diff --git a/addons/keychain/ShortcutEdit.gd b/addons/keychain/ShortcutEdit.gd index 9eecf8107..42e2a8ed4 100644 --- a/addons/keychain/ShortcutEdit.gd +++ b/addons/keychain/ShortcutEdit.gd @@ -107,6 +107,8 @@ func _ready() -> void: profile_option_button.select(Keychain.profile_index) _on_ProfileOptionButton_item_selected(Keychain.profile_index) + if OS.get_name() == "HTML5": + $VBoxContainer/HBoxContainer/OpenProfileFolder.queue_free() func _construct_tree() -> void: