Bug fixed with attaching
This commit is contained in:
1 parent
c7ddbaa0d1
commit
69c59eddc3
4 files changed
+9
-5
No files matched your search
@@ -19,8 +19,9 @@
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
"Use Reference Parent",
|
||||
"Use Reference Parent Parent"
|
||||
"Use Reference Parent Parent Parent",
|
||||
"Use Reference Parent Parent",
|
||||
"Use Reference Parent"
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
|
||||
@@ -54,5 +54,6 @@
|
||||
"project": "Superalgos",
|
||||
"autoAdd": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"icon": "Governance Project"
|
||||
}
|
||||
@@ -167,7 +167,7 @@ function newGovernanceFunctionLibraryClaims() {
|
||||
let votesRatio = node.payload.referenceParent.payload.votes / node.payload.referenceParent.payload.claimsVotes
|
||||
if (votesRatio > 1) { votesRatio = 1 }
|
||||
/*
|
||||
Share Count means the amount to claims pointing to the same potential tokens reward.
|
||||
Share Count means the amount to claims pointing to the same potential tokens reward.
|
||||
*/
|
||||
let shareCount = node.payload.referenceParent.payload.claimsCount
|
||||
let sharePercentage = node.payload.votes * 100 / node.payload.referenceParent.payload.claimsVotes
|
||||
|
||||
@@ -469,6 +469,7 @@ function newUiObject() {
|
||||
let nearby = nearbyFloatingObjects[i]
|
||||
let distance = nearby[0]
|
||||
let floatingObject = nearby[1]
|
||||
if (floatingObject.payload === undefined) { continue }
|
||||
let nearbyNode = floatingObject.payload.node
|
||||
if (compatibleTypes.indexOf('->' + nearbyNode.type + '->') >= 0) {
|
||||
/* Discard App Schema defined objects with busy coonection ports */
|
||||
@@ -614,6 +615,7 @@ function newUiObject() {
|
||||
let nearby = nearbyFloatingObjects[i]
|
||||
let distance = nearby[0]
|
||||
let floatingObject = nearby[1]
|
||||
if (floatingObject.payload === undefined) { continue }
|
||||
let nearbyNode = floatingObject.payload.node
|
||||
if (compatibleTypes.indexOf('->' + nearbyNode.type + '->') >= 0 || compatibleTypes === "->*Any Node*->") {
|
||||
if (schemaDocument.referencingRules.incompatibleTypes !== undefined) {
|
||||
@@ -1891,7 +1893,7 @@ function newUiObject() {
|
||||
y: position.y
|
||||
}
|
||||
labelPoint.x = labelPoint.x + radius * 7 / 3 * Math.cos(toRadians(thisObject.payload.angle + thisObject.valueAngleOffset))
|
||||
labelPoint.y = labelPoint.y + radius * 7 / 3 * Math.sin(toRadians(thisObject.payload.angle + thisObject.valueAngleOffset)) + lineSeparator * 1
|
||||
labelPoint.y = labelPoint.y + radius * 7 / 3 * Math.sin(toRadians(thisObject.payload.angle + thisObject.valueAngleOffset)) + lineSeparator * 1
|
||||
} else {
|
||||
if (thisObject.isOnFocus === true) {
|
||||
labelPoint = {
|
||||
|
||||
Reference in new issue
Block a user