feat: make previews 2x bigger

This commit is contained in:
Louis Dalibard 2025-01-01 04:56:13 +01:00
parent 7c2fa7d6c0
commit 2ca7c55123
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ func FileListPage(req string, entries []Entry, big_preview_mode bool) string {
if !big_preview_mode { if !big_preview_mode {
headerCSS1 = "display: flex;" headerCSS1 = "display: flex;"
} else { } else {
headerCSS1 = "width: 320px;" headerCSS1 = "width: 512px;"
} }
headerCSS2 := "" headerCSS2 := ""
if !big_preview_mode { if !big_preview_mode {

View File

@ -70,7 +70,7 @@ var FauxGLFormats = []string{
".3DS", ".3DS",
} }
var thumbnailSize = 48 var thumbnailSize = 48 * 2
var AA = 2 var AA = 2
var thumbnailCache = map[string][]byte{} var thumbnailCache = map[string][]byte{}