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