[SSE] Fix Bug 41069
This commit is contained in:
parent
3e6449457f
commit
7237ecd510
|
@ -121,6 +121,7 @@ define([
|
|||
$(document).on('mousedown', _.bind(me.onDocumentRightDown, me));
|
||||
$(document).on('mouseup', _.bind(me.onDocumentRightUp, me));
|
||||
$(document).on('keydown', _.bind(me.onDocumentKeyDown, me));
|
||||
$(document).on('mousemove', _.bind(me.onDocumentMouseMove, me));
|
||||
$(window).on('resize', _.bind(me.onDocumentResize, me));
|
||||
var viewport = SSE.getController('Viewport').getView('Viewport');
|
||||
viewport.hlayout.on('layout:resizedrag', _.bind(me.onDocumentResize, me));
|
||||
|
@ -1456,6 +1457,12 @@ define([
|
|||
(data.type == 'mouseup') && (this.mouse.isLeftButtonDown = false);
|
||||
},
|
||||
|
||||
onDocumentMouseMove: function(e) {
|
||||
if (e.target.localName !== 'canvas') {
|
||||
this.hideHyperlinkTip();
|
||||
}
|
||||
},
|
||||
|
||||
showObjectMenu: function(event){
|
||||
if (this.api && !this.mouse.isLeftButtonDown && !this.rangeSelectionMode){
|
||||
(this.permissions.isEdit && !this._isDisabled) ? this.fillMenuProps(this.api.asc_getCellInfo(), true, event) : this.fillViewMenuProps(this.api.asc_getCellInfo(), true, event);
|
||||
|
|
Loading…
Reference in a new issue