mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Do not display phantoms while dragging mouse over alien nodes.
It really does screw up selection in IE and does not look good in other supported browsers. Change-Id: Ie190e86b25c3b253d4cf809594e74094275d0d57
This commit is contained in:
parent
d62d0241e2
commit
b99192e110
|
@ -50,7 +50,9 @@ ve.ce.AlienNode.prototype.onMouseEnter = function () {
|
|||
var $phantoms = $( [] ),
|
||||
$phantomTemplate = ve.ce.Surface.static.$phantomTemplate,
|
||||
surface = this.root.getSurface();
|
||||
|
||||
if ( surface.dragging ) {
|
||||
return;
|
||||
}
|
||||
this.$.find( '.ve-ce-node-shield' ).each( function () {
|
||||
var $shield = $( this ),
|
||||
offset = $shield.offset();
|
||||
|
|
Loading…
Reference in a new issue