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