fix(color): don't enlarge image in the file preview window (#4943)

This commit is contained in:
philmoz
2024-05-01 09:57:47 +10:00
committed by GitHub
parent 4f0610c551
commit 796886772e
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -25,6 +25,7 @@ FilePreview::FilePreview(Window *parent, const rect_t &rect) :
StaticImage(parent, rect)
{
hide();
dontEnlarge = true;
}
void FilePreview::setFile(const char *filename)