mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47:56 +01:00
Fix getFontStyle error.
This commit is contained in:
parent
49de0b4945
commit
99cec1bd54
@ -249,7 +249,7 @@ export class NodePropertyValueModelBuilder {
|
|||||||
getFontStyleModel(): NodePropertyValueModel {
|
getFontStyleModel(): NodePropertyValueModel {
|
||||||
if (!this.fontStyleModel)
|
if (!this.fontStyleModel)
|
||||||
this.fontStyleModel = {
|
this.fontStyleModel = {
|
||||||
getValue: () => this.selectedTopic().getFontStyle(),
|
getValue: () => this.selectedTopic()?.getFontStyle(),
|
||||||
switchValue: () => designer.changeFontStyle(),
|
switchValue: () => designer.changeFontStyle(),
|
||||||
};
|
};
|
||||||
return this.fontStyleModel;
|
return this.fontStyleModel;
|
||||||
|
Loading…
Reference in New Issue
Block a user