Browse Source

Editor: Documented WebKit quirk.

Mr.doob 4 năm trước cách đây
mục cha
commit
70f000115f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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();