Image size smaller inMapMode
This commit is contained in:
1 parent
a17a0ed878
commit
1669e7950e
2 files changed
+10
-1
No files matched your search
@@ -2401,6 +2401,14 @@ function newUiObject() {
|
||||
totalImageSize = 50
|
||||
}
|
||||
|
||||
if (UI.projects.foundations.spaces.floatingSpace.inMapMode === true) {
|
||||
if (schemaDocument.inMapMode !== undefined) {
|
||||
if (schemaDocument.inMapMode.smallIcon === true) {
|
||||
totalImageSize = totalImageSize / 2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
browserCanvasContext.drawImage(
|
||||
icon, position.x - totalImageSize / 2,
|
||||
position.y - totalImageSize / 2,
|
||||
|
||||
@@ -78,6 +78,7 @@
|
||||
}
|
||||
],
|
||||
"inMapMode": {
|
||||
"showNodeType": false
|
||||
"showNodeType": false,
|
||||
"smallIcon": true
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user