fixed gofmt
This commit is contained in:
@@ -2,8 +2,8 @@ package ui
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"turtlesilicon/pkg/debug"
|
"turtlesilicon/pkg/debug"
|
||||||
"turtlesilicon/pkg/paths"
|
|
||||||
"turtlesilicon/pkg/patching"
|
"turtlesilicon/pkg/patching"
|
||||||
|
"turtlesilicon/pkg/paths"
|
||||||
"turtlesilicon/pkg/utils"
|
"turtlesilicon/pkg/utils"
|
||||||
|
|
||||||
"fyne.io/fyne/v2"
|
"fyne.io/fyne/v2"
|
||||||
|
@@ -46,11 +46,11 @@ var (
|
|||||||
envVarsEntry *widget.Entry
|
envVarsEntry *widget.Entry
|
||||||
|
|
||||||
// Graphics settings checkboxes
|
// Graphics settings checkboxes
|
||||||
reduceTerrainDistanceCheckbox *widget.Check
|
reduceTerrainDistanceCheckbox *widget.Check
|
||||||
setMultisampleTo2xCheckbox *widget.Check
|
setMultisampleTo2xCheckbox *widget.Check
|
||||||
setShadowLOD0Checkbox *widget.Check
|
setShadowLOD0Checkbox *widget.Check
|
||||||
libSiliconPatchCheckbox *widget.Check
|
libSiliconPatchCheckbox *widget.Check
|
||||||
applyGraphicsSettingsButton *widget.Button
|
applyGraphicsSettingsButton *widget.Button
|
||||||
|
|
||||||
// Graphics settings help buttons
|
// Graphics settings help buttons
|
||||||
reduceTerrainDistanceHelpButton *widget.Button
|
reduceTerrainDistanceHelpButton *widget.Button
|
||||||
|
@@ -18,14 +18,14 @@ type UserPrefs struct {
|
|||||||
AutoDeleteWdb bool `json:"auto_delete_wdb"`
|
AutoDeleteWdb bool `json:"auto_delete_wdb"`
|
||||||
|
|
||||||
// Graphics settings
|
// Graphics settings
|
||||||
ReduceTerrainDistance bool `json:"reduce_terrain_distance"`
|
ReduceTerrainDistance bool `json:"reduce_terrain_distance"`
|
||||||
SetMultisampleTo2x bool `json:"set_multisample_to_2x"`
|
SetMultisampleTo2x bool `json:"set_multisample_to_2x"`
|
||||||
SetShadowLOD0 bool `json:"set_shadow_lod_0"`
|
SetShadowLOD0 bool `json:"set_shadow_lod_0"`
|
||||||
EnableLibSiliconPatch bool `json:"enable_lib_silicon_patch"`
|
EnableLibSiliconPatch bool `json:"enable_lib_silicon_patch"`
|
||||||
|
|
||||||
// Tracking whether user has manually disabled these settings
|
// Tracking whether user has manually disabled these settings
|
||||||
UserDisabledShadowLOD bool `json:"user_disabled_shadow_lod"`
|
UserDisabledShadowLOD bool `json:"user_disabled_shadow_lod"`
|
||||||
UserDisabledLibSiliconPatch bool `json:"user_disabled_lib_silicon_patch"`
|
UserDisabledLibSiliconPatch bool `json:"user_disabled_lib_silicon_patch"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func getPrefsPath() (string, error) {
|
func getPrefsPath() (string, error) {
|
||||||
|
Reference in New Issue
Block a user