Do not prevent default event for handlers that registered for the whole document, because in this case selection won't work.
This commit is contained in:
parent
2117efd938
commit
fe2836d632
@ -388,8 +388,6 @@ OV.Navigation = class
|
||||
|
||||
OnMouseMove (ev)
|
||||
{
|
||||
ev.preventDefault ();
|
||||
|
||||
this.mouse.Move (this.canvas, ev);
|
||||
this.clickDetector.Move ();
|
||||
if (!this.mouse.IsButtonDown ()) {
|
||||
@ -412,8 +410,6 @@ OV.Navigation = class
|
||||
|
||||
OnMouseUp (ev)
|
||||
{
|
||||
ev.preventDefault ();
|
||||
|
||||
this.mouse.Up (this.canvas, ev);
|
||||
this.clickDetector.Up (ev);
|
||||
if (this.clickDetector.IsClick ()) {
|
||||
@ -424,8 +420,6 @@ OV.Navigation = class
|
||||
|
||||
OnMouseLeave (ev)
|
||||
{
|
||||
ev.preventDefault ();
|
||||
|
||||
this.mouse.Leave (this.canvas, ev);
|
||||
this.clickDetector.Leave ();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user