reference_info_in_menu_tooltip Tentacule23
This commit is contained in:
1 parent
05cd46bb01
commit
e32f5244f0
1 file changed
+7
-1
@@ -301,7 +301,13 @@ function newCircularMenuItem() {
|
||||
|
||||
function onMouseOver(point) {
|
||||
if (thisObject.container.frame.isThisPointHere(point, true, false) === true) {
|
||||
thisObject.payload.uiObject.setInfoMessage(thisObject.action)
|
||||
let text = thisObject.action
|
||||
|
||||
if(thisObject.payload.uiObject.payload.referenceParent !== undefined && thisObject.action === 'Reference Detach'){
|
||||
text = text + ' -> [Existing Reference] Type : [' + thisObject.payload.uiObject.payload.referenceParent.type + '] , Name : [' + thisObject.payload.uiObject.payload.referenceParent.name + ']'
|
||||
}
|
||||
|
||||
thisObject.payload.uiObject.setInfoMessage(text)
|
||||
isMouseOver = true
|
||||
} else {
|
||||
isMouseOver = false
|
||||
|
||||
Reference in new issue
Block a user