diff options
Diffstat (limited to 'gui/internal/model/prefs.go')
| -rw-r--r-- | gui/internal/model/prefs.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gui/internal/model/prefs.go b/gui/internal/model/prefs.go index 52ed012..1a91194 100644 --- a/gui/internal/model/prefs.go +++ b/gui/internal/model/prefs.go @@ -14,8 +14,6 @@ import ( // files, which belongs in the configuration. It lives beside krino.conf as // gui.json, a file krino itself never reads (his request, 2026-09-16). type Prefs struct { - // FontSize is the editor's font in points; 0 keeps the theme's. - FontSize int `json:"font_size"` // Colours paints the configuration in the Text tab. Colours bool `json:"colours"` // Preview shows the file behind the selected row in the Plan tab. @@ -33,7 +31,7 @@ const DefaultPreviewHeight = 280 // DefaultPrefs is what a window does before anything is chosen. func DefaultPrefs() Prefs { - return Prefs{FontSize: 0, Colours: true, Preview: true, SelectAll: true, + return Prefs{Colours: true, Preview: true, SelectAll: true, PreviewHeight: DefaultPreviewHeight} } |
