diff --git a/packages/react/components/Editor/components/menus/Value.mjs b/packages/react/components/Editor/components/menus/Value.mjs index 5a6cc2e8415..21c0fcc3509 100644 --- a/packages/react/components/Editor/components/menus/Value.mjs +++ b/packages/react/components/Editor/components/menus/Value.mjs @@ -119,7 +119,7 @@ export const MenuMmValue = ({ current, config, units, changed }) => ( * Displays the current percentage value, and the absolute value if configured */ export const MenuPctOptionValue = ({ config, current, settings, changed, patternConfig }) => { - const val = changed ? current : config.pct / 100 + const val = changed ? current : config.dflt return ( diff --git a/packages/react/components/Editor/lib/layout-settings.mjs b/packages/react/components/Editor/lib/layout-settings.mjs index e46751fa2a5..883282ce487 100644 --- a/packages/react/components/Editor/lib/layout-settings.mjs +++ b/packages/react/components/Editor/lib/layout-settings.mjs @@ -20,7 +20,8 @@ const defaultPrintSettings = (units) => ({ size: units === 'imperial' ? 'letter' : 'a4', orientation: 'portrait', margin: units === 'imperial' ? 12.7 : 10, - coverPage: true, + coverPage: 1, + iconSize: 0.5, }) export function menuLayoutSettingsStructure(units) { @@ -76,6 +77,7 @@ export function menuLayoutSettingsStructure(units) { ), }, icon: PageOrientationIcon, + dflt: defaults.orientation, }, margin: { dense: true, @@ -98,7 +100,7 @@ export function menuLayoutSettingsStructure(units) { 0: 'Do not include a cover page', 1: 'Include a cover page', }, - dflt: 0, + dflt: defaults.coverPage, }, iconSize: { dense: true, @@ -108,7 +110,7 @@ export function menuLayoutSettingsStructure(units) { about: 'Controls the size of the icons that allow you to rotate/flip individual pattern parts', min: 10, - dflt: 0.5, + dflt: defaults.iconSize, step: 1, max: 200, },