Pārlūkot izejas kodu

Editor: Documented WebKit quirk.

Mr.doob 5 gadi atpakaļ
vecāks
revīzija
70f000115f
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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();