From 0bca7d370089dd11a1a83fe4471fe245618d63ce Mon Sep 17 00:00:00 2001 From: Fatih Erikli Date: Wed, 20 Dec 2023 17:58:26 +0300 Subject: [PATCH] Make max fontsize 300, Add default value --- src/fontra/views/editor/panel-reference-font.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fontra/views/editor/panel-reference-font.js b/src/fontra/views/editor/panel-reference-font.js index 876a2e8d81..6375d00745 100644 --- a/src/fontra/views/editor/panel-reference-font.js +++ b/src/fontra/views/editor/panel-reference-font.js @@ -379,7 +379,8 @@ export default class ReferenceFontPanel extends Panel { type: "range", value: this.model.fontSize, minValue: 10, - maxValue: 200, + defaultValue: 100, + maxValue: 300, step: 0.1, onChangeCallback: (event) => { currentCharacter.style.fontSize = `${event.value}px`;