From 4d1d89b12b0cd926a6e136b0846b69614237ff24 Mon Sep 17 00:00:00 2001 From: Jacek Kopecky Date: Mon, 16 Feb 2015 19:42:31 +0000 Subject: [PATCH] allow fractional sizes in minimap This is especially useful on retina screens if you want to use the smaller pixels. --- lib/main.coffee | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/main.coffee b/lib/main.coffee index 31fc1c8c..1cc82594 100644 --- a/lib/main.coffee +++ b/lib/main.coffee @@ -60,15 +60,15 @@ class Main default: true description: 'If this option is enabled and Soft Wrap is checked then the Minimap max width is set to the Preferred Line Length value.' charWidth: - type: 'integer' + type: 'number' default: 1 - minimum: 1 + minimum: .5 charHeight: - type: 'integer' + type: 'number' default: 2 - minimum: 1 + minimum: .5 interline: - type: 'integer' + type: 'number' default: 1 minimum: 0 description: 'The space between lines in the minimap in pixels.'