2
0
Эх сурвалжийг харах

Editor: Documented WebKit quirk.

Mr.doob 4 жил өмнө
parent
commit
70f000115f
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      editor/js/Resizer.js

+ 2 - 0
editor/js/Resizer.js

@@ -27,6 +27,8 @@ function Resizer( editor ) {
 
 	function onPointerMove( event ) {
 
+		// PointerEvent's movementX/movementY are 0 in WebKit
+
 		if ( event.isPrimary === false ) return;
 
 		const rect = dom.getBoundingClientRect();