fix(color): displayed image not always cleared when changing folder in SD browser (#4781)
This commit is contained in:
@@ -279,6 +279,7 @@ void FileBrowser::onPress(const char* name, bool is_dir)
|
|||||||
const char* fullpath = getFullPath(name);
|
const char* fullpath = getFullPath(name);
|
||||||
if (is_dir) {
|
if (is_dir) {
|
||||||
f_chdir(fullpath);
|
f_chdir(fullpath);
|
||||||
|
if (fileSelected) fileSelected(nullptr, nullptr, nullptr);
|
||||||
refresh();
|
refresh();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user