Add a setting to preserve custom font scaling setting
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
05cc347ba2
commit
b81353c128
|
@ -56,6 +56,7 @@ type GlobalSettings struct {
|
|||
UseTorCache bool
|
||||
TorCacheDir string
|
||||
BlodeuweddPath string
|
||||
FontScaling float64
|
||||
}
|
||||
|
||||
var DefaultGlobalSettings = GlobalSettings{
|
||||
|
@ -81,6 +82,7 @@ var DefaultGlobalSettings = GlobalSettings{
|
|||
UseTorCache: false,
|
||||
TorCacheDir: "",
|
||||
BlodeuweddPath: "",
|
||||
FontScaling: 1.0, // use the system pixel scaling default
|
||||
}
|
||||
|
||||
func InitGlobalSettingsFile(directory string, password string) (*GlobalSettingsFile, error) {
|
||||
|
|
Loading…
Reference in New Issue