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:
Inez Korczyński 2013-03-08 14:18:01 -08:00
parent d62d0241e2
commit b99192e110

View file

@ -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();