mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-06-01 19:19:31 +02:00
Open only one file browser for commits
This commit is contained in:
parent
5ab98677bd
commit
10a130a913
2 changed files with 11 additions and 1 deletions
scenes
|
@ -342,3 +342,11 @@ func set_file_browser_active(active):
|
|||
file_browser_active = active
|
||||
if file_browser:
|
||||
file_browser.visible = active
|
||||
|
||||
func close_all_file_browsers():
|
||||
var all = all_objects()
|
||||
|
||||
for o in objects.values():
|
||||
if o.type == "commit":
|
||||
o.file_browser.visible = false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue