mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 06:37:56 +01:00
Fix compilation
This commit is contained in:
parent
9ce2c56c34
commit
44c0a9ee9c
@ -442,7 +442,7 @@ abstract class Topic extends NodeGraph {
|
||||
getFontColor(): string {
|
||||
const model = this.getModel();
|
||||
let result = model.getFontColor();
|
||||
if (!$defined(result)) {
|
||||
if (!result) {
|
||||
const font = TopicStyle.defaultFontStyle(this);
|
||||
result = font.color;
|
||||
}
|
||||
@ -452,7 +452,7 @@ abstract class Topic extends NodeGraph {
|
||||
getFontStyle(): string {
|
||||
const model = this.getModel();
|
||||
let result = model.getFontStyle();
|
||||
if (!$defined(result)) {
|
||||
if (!result) {
|
||||
const font = TopicStyle.defaultFontStyle(this);
|
||||
result = font.style;
|
||||
}
|
||||
@ -462,7 +462,7 @@ abstract class Topic extends NodeGraph {
|
||||
getFontSize(): number {
|
||||
const model = this.getModel();
|
||||
let result = model.getFontSize();
|
||||
if (!$defined(result)) {
|
||||
if (!result) {
|
||||
const font = TopicStyle.defaultFontStyle(this);
|
||||
result = font.size;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user