summaryrefslogtreecommitdiffstats
path: root/platform/javascript/audio_driver_javascript.cpp
diff options
context:
space:
mode:
authoraaronp64 <aaronp.code@gmail.com>2024-05-02 13:05:53 -0400
committeraaronp64 <aaronp.code@gmail.com>2024-05-02 13:05:53 -0400
commit831a085f67d5ab53d2778501e0849837d4495178 (patch)
tree5ec895858e7841bf74006bd7d7bf0b93e5f9ec63 /platform/javascript/audio_driver_javascript.cpp
parent4e9543d8494f175bc0e772541a15c059bf6d6835 (diff)
downloadredot-engine-831a085f67d5ab53d2778501e0849837d4495178.tar.gz
Fix FileSystemDock thumbnails sometimes not displaying
There were (at least) three cases where thumbnails would not display, if they were generated while the FileSystemDock was not visible: - current_path == "Favorites", due to p_path not starting with "Favorites" - current_path == "res://", due to current_path having last "/" trimmed for comparison - current_path pointing to a selected file instead of folder, since it no longer matches p_path's base directory This change removes the current_path and is_visible_in_tree checks when determining whether to update the file's icon. Fixes #90801 Fixes #91432
Diffstat (limited to 'platform/javascript/audio_driver_javascript.cpp')
0 files changed, 0 insertions, 0 deletions