Skip to content

Commit

Permalink
Make max fontsize 300, Add default value
Browse files Browse the repository at this point in the history
  • Loading branch information
fatih-erikli committed Dec 20, 2023
1 parent 2874990 commit 0bca7d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fontra/views/editor/panel-reference-font.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
Expand Down

0 comments on commit 0bca7d3

Please sign in to comment.