parent
348a0b2d99
commit
b233e7f6ed
|
@ -241,7 +241,9 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
|
|||
title: 'Change type',
|
||||
action: {
|
||||
click: function(event, element) {
|
||||
replaceMenu.open(getReplaceMenuPosition(element));
|
||||
replaceMenu.open(assign(getReplaceMenuPosition(element), {
|
||||
cursor: { x: event.x, y: event.y }
|
||||
}), element);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -317,4 +319,4 @@ function isEventType(eventBo, type, definition) {
|
|||
});
|
||||
|
||||
return isType && isDefinition;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue