feat: make previews 2x bigger
This commit is contained in:
parent
7c2fa7d6c0
commit
2ca7c55123
@ -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 {
|
||||||
|
@ -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{}
|
||||||
|
Loading…
Reference in New Issue
Block a user