Made the buttons in the file browser example work

This commit is contained in:
Sasha Koshka
2023-03-23 14:45:46 -04:00
parent 14802b4b82
commit 7ec5e1ab2a
2 changed files with 17 additions and 3 deletions

View File

@@ -137,7 +137,10 @@ func (element *DirectoryView) Update () error {
element.children[index].DirEntry = entry
}
element.redoAll()
if element.core.HasImage() {
element.redoAll()
element.core.DamageAll()
}
return err
}