small Text
This commit is contained in:
1 parent
23ca4b5c1e
commit
0d4dfbd20d
2 files changed
+11
-2
No files matched your search
@@ -359,6 +359,15 @@ function newUiObjectTitle() {
|
||||
let fontSize = thisObject.payload.floatingObject.currentFontSize
|
||||
let label
|
||||
|
||||
let schemaDocument = getSchemaDocument(thisObject.payload.node)
|
||||
if (UI.projects.foundations.spaces.floatingSpace.inMapMode === true) {
|
||||
if (schemaDocument.inMapMode !== undefined) {
|
||||
if (schemaDocument.inMapMode.smallText === true) {
|
||||
fontSize = fontSize * 0.8
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
browserCanvasContext.font = fontSize + 'px ' + UI_FONT.PRIMARY
|
||||
|
||||
if (radius > 6 && (thisObject.isOnFocus === true || thisObject.allwaysVisible === true || thisObject.isDefault === false)) {
|
||||
@@ -383,7 +392,6 @@ function newUiObjectTitle() {
|
||||
labelPoint.x = labelPoint.x - getTextWidth(label) / 2,
|
||||
labelPoint.y = labelPoint.y - 35
|
||||
|
||||
let schemaDocument = getSchemaDocument(thisObject.payload.node)
|
||||
if (schemaDocument !== undefined) {
|
||||
if (schemaDocument.isHierarchyHead !== true && schemaDocument.isProjectHead !== true) {
|
||||
return
|
||||
|
||||
@@ -80,6 +80,7 @@
|
||||
"inMapMode": {
|
||||
"showNodeType": false,
|
||||
"showHierarchyHeadRing": false,
|
||||
"smallIcon": true
|
||||
"smallIcon": true,
|
||||
"smallText": true
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user