Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
fix: use const for min too
Browse files Browse the repository at this point in the history
  • Loading branch information
johanlahti committed Oct 13, 2023
1 parent 475a8e3 commit 9120416
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const stylingPanelDef = {
ref: 'fontSize',
translation: 'properties.fontSize',
width: 9,
min: 5,
min: MIN_FONT_SIZE,
max: MAX_FONT_SIZE,
defaultValue(item, data, args) {
const currentTheme = args.theme.current();
Expand Down Expand Up @@ -78,7 +78,7 @@ const stylingPanelDef = {
ref: 'fontSize',
translation: 'properties.fontSize',
width: 9,
min: 5,
min: MIN_FONT_SIZE,
max: MAX_FONT_SIZE,
defaultValue(item, data, args) {
const currentTheme = args.theme.current();
Expand Down

0 comments on commit 9120416

Please sign in to comment.