add config file setting to disable Fyne DPI detection
This commit is contained in:
@@ -47,6 +47,10 @@ func main() {
|
||||
os.Setenv("FYNE_SCALE", "1.1")
|
||||
}
|
||||
|
||||
if myApp.Config.Application.DisableDPIDetection {
|
||||
os.Setenv("FYNE_DISABLE_DPI_DETECTION", "true")
|
||||
}
|
||||
|
||||
// load configured app language, or all otherwise
|
||||
lIdx := slices.IndexFunc(res.TranslationsInfo, func(t res.TranslationInfo) bool {
|
||||
return t.Name == myApp.Config.Application.Language
|
||||
|
||||
Reference in New Issue
Block a user