Ver código fonte

Editor: Documented WebKit quirk.

Mr.doob 5 anos atrás
pai
commit
70f000115f
1 arquivos alterados com 2 adições e 0 exclusões
  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();