From 9120416c0f530a308e42abc054387b70070f3ee5 Mon Sep 17 00:00:00 2001 From: Johan Lahti Date: Fri, 13 Oct 2023 10:05:46 +0200 Subject: [PATCH] fix: use const for min too --- .../property-panel/settings/presentation/styling-panel-def.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sn-filter-pane/src/ext/property-panel/settings/presentation/styling-panel-def.js b/packages/sn-filter-pane/src/ext/property-panel/settings/presentation/styling-panel-def.js index 7bd12a16..3b29f006 100644 --- a/packages/sn-filter-pane/src/ext/property-panel/settings/presentation/styling-panel-def.js +++ b/packages/sn-filter-pane/src/ext/property-panel/settings/presentation/styling-panel-def.js @@ -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(); @@ -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();