Browse Source

trigger EReleaseOutside even if outside mask/ellipse

ncannasse 8 năm trước cách đây
mục cha
commit
8271fd3e5a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      h2d/Interactive.hx

+ 1 - 1
h2d/Interactive.hx

@@ -74,7 +74,7 @@ class Interactive extends Drawable implements hxd.SceneEvents.Interactive {
 
 	function checkBounds( e : hxd.Event ) {
 		return switch( e.kind ) {
-		case EOut, EFocus, EFocusLost: false;
+		case EOut, EFocus, EFocusLost, EReleaseOutside: false;
 		default: true;
 		}
 	}