浏览代码

Editor: Documented WebKit quirk.

Mr.doob 4 年之前
父节点
当前提交
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 ) {
 	function onPointerMove( event ) {
 
 
+		// PointerEvent's movementX/movementY are 0 in WebKit
+
 		if ( event.isPrimary === false ) return;
 		if ( event.isPrimary === false ) return;
 
 
 		const rect = dom.getBoundingClientRect();
 		const rect = dom.getBoundingClientRect();