@babylonjs/gui 7.22.5 → 7.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1919,6 +1919,9 @@ export class Control {
1919
1919
  if (pi && this.uniqueId !== this._host.rootContainer.uniqueId) {
1920
1920
  this._host._capturedPointerIds.delete(pi.event.pointerId);
1921
1921
  }
1922
+ if (this._host.usePointerTapForClickEvent && this.isPointerBlocker) {
1923
+ this._host._shouldBlockPointer = false;
1924
+ }
1922
1925
  }
1923
1926
  _onPointerPick(target, coordinates, pointerId, buttonIndex, notifyClick, pi) {
1924
1927
  if (!this._host.usePointerTapForClickEvent) {
@@ -1932,6 +1935,9 @@ export class Control {
1932
1935
  if (canNotify && this.parent != null && !this.isPointerBlocker) {
1933
1936
  this.parent._onPointerPick(target, coordinates, pointerId, buttonIndex, canNotifyClick, pi);
1934
1937
  }
1938
+ if (this._host.usePointerTapForClickEvent && this.isPointerBlocker) {
1939
+ this._host._shouldBlockPointer = true;
1940
+ }
1935
1941
  return true;
1936
1942
  }
1937
1943
  /**