diff --git a/app/common/color.ts b/app/common/color.ts index 18f26a85d..9bba2c8d3 100644 --- a/app/common/color.ts +++ b/app/common/color.ts @@ -139,11 +139,11 @@ export class Color { }; [50, 100, 200, 300, 400].forEach((level) => { - palette.colors[level] = this.lighten(intensityMap[level]).toString(); + palette.colors[level] = this.lighten(intensityMap[level]).toHex6(); }); [600, 700, 800, 900, 950].forEach((level) => { - palette.colors[level] = this.darken(intensityMap[level]).toString(); + palette.colors[level] = this.darken(intensityMap[level]).toHex6(); }); return palette; diff --git a/app/src/routes/editor/Canvas/Hotkeys/index.tsx b/app/src/routes/editor/Canvas/Hotkeys/index.tsx index 739966aeb..a78e1589d 100644 --- a/app/src/routes/editor/Canvas/Hotkeys/index.tsx +++ b/app/src/routes/editor/Canvas/Hotkeys/index.tsx @@ -33,7 +33,7 @@ const HotkeysArea = ({ children, scale, setScale }: HotkeysAreaProps) => { useHotkeys('space', () => (editorEngine.mode = EditorMode.PAN), { keydown: true }); useHotkeys('space', () => (editorEngine.mode = EditorMode.DESIGN), { keyup: true }); - + useHotkeys('alt', () => editorEngine.elements.showMeasurement(), { keydown: true }); useHotkeys('alt', () => editorEngine.overlay.removeMeasurement(), { keyup: true });