From 5418ba6bc5c653b6a99572c6ece6abbf57836c43 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Thu, 17 Sep 2026 00:51:15 +0200 Subject: gui: coloured actions with headers, a filter over the plan, bulk trash or delete --- gui/internal/model/prefs.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gui/internal/model/prefs.go') 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} } -- cgit v1.3