fix fontFamily state updating (#1679)

This commit is contained in:
David Luzar 2020-05-29 21:59:39 +02:00 committed by GitHub
parent 44a88d2d58
commit 0db7ac78c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 78 additions and 1 deletions

View file

@ -374,7 +374,7 @@ export const actionChangeFontFamily = register({
}),
appState: {
...appState,
currentItemFontFamily: appState.currentItemFontFamily,
currentItemFontFamily: value,
},
commitToHistory: true,
};