fix(sticky): wire fontSize from toolbar slider + update shortcuts help

This commit is contained in:
Hiren Kangad
2026-03-12 22:09:12 +05:30
parent a7faf004ae
commit a191f74c31
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ export function activateTool(
name: '', name: '',
visible: true, visible: true,
text: '', text: '',
fontSize: 14, fontSize: opts.fontSize!,
fontFamily: 'Inter, system-ui, sans-serif', fontFamily: 'Inter, system-ui, sans-serif',
fill: '#ffd43b', // default yellow fill: '#ffd43b', // default yellow
textColor: '#1a1a1a', textColor: '#1a1a1a',
+1 -1
View File
@@ -48,7 +48,7 @@ export default function ShortcutsHelp({ shortcuts, onClose }: ShortcutsHelpProps
{ keys: 'H / 2', description: 'Pan tool' }, { keys: 'H / 2', description: 'Pan tool' },
{ keys: 'P / 3', description: 'Draw tool' }, { keys: 'P / 3', description: 'Draw tool' },
{ keys: 'T / 4', description: 'Text tool' }, { keys: 'T / 4', description: 'Text tool' },
{ keys: 'E / 5', description: 'Eraser tool' }, { keys: 'S / 5', description: 'Sticky note tool' },
{ keys: 'Space + drag', description: 'Pan canvas' }, { keys: 'Space + drag', description: 'Pan canvas' },
{ keys: 'Scroll', description: 'Zoom' }, { keys: 'Scroll', description: 'Zoom' },
{ keys: 'Middle click + drag', description: 'Pan canvas' }, { keys: 'Middle click + drag', description: 'Pan canvas' },