fix(sticky): wire fontSize from toolbar slider + update shortcuts help
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
@@ -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' },
|
||||||
|
|||||||
Reference in New Issue
Block a user