mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix font size atom
This commit is contained in:
parent
8af03454cb
commit
db250eb974
1 changed files with 1 additions and 0 deletions
|
@ -4161,6 +4161,7 @@ class App extends React.Component<AppProps, AppState> {
|
||||||
);
|
);
|
||||||
if (boundText && genericSwitchable && firstElement) {
|
if (boundText && genericSwitchable && firstElement) {
|
||||||
editorJotaiStore.set(shapeSwitchFontSizeAtom, {
|
editorJotaiStore.set(shapeSwitchFontSizeAtom, {
|
||||||
|
...editorJotaiStore.get(shapeSwitchFontSizeAtom),
|
||||||
[element.id]: {
|
[element.id]: {
|
||||||
fontSize: boundText.fontSize,
|
fontSize: boundText.fontSize,
|
||||||
elementType: element.type as GenericSwitchableToolType,
|
elementType: element.type as GenericSwitchableToolType,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue