value and status with angle at pools
This commit is contained in:
1 parent
a4ae7189b9
commit
7b24239720
2 files changed
+8
No files matched your search
@@ -175,6 +175,10 @@ function newGovernanceFunctionLibraryTokens() {
|
||||
}
|
||||
|
||||
if (node.payload !== undefined) {
|
||||
|
||||
node.payload.uiObject.statusAngleOffset = 0
|
||||
node.payload.uiObject.statusAtAngle = true
|
||||
|
||||
node.payload.uiObject.setStatus(status)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -447,6 +447,10 @@ function newGovernanceFunctionLibraryVotingProgram() {
|
||||
}
|
||||
|
||||
const votesText = parseFloat(votes.toFixed(0)).toLocaleString('en') + ' ' + voteType
|
||||
|
||||
node.payload.uiObject.valueAngleOffset = 0
|
||||
node.payload.uiObject.valueAtAngle = true
|
||||
|
||||
node.payload.uiObject.setValue(votesText)
|
||||
|
||||
if (percentage !== undefined) {
|
||||
|
||||
Reference in new issue
Block a user