@babylonjs/gui 7.23.0 → 7.24.0
Sign up to get free protection for your applications and to get access to all the features.
- package/2D/controls/control.js +6 -0
- package/2D/controls/control.js.map +1 -1
- package/3D/controls/contentDisplay3D.d.ts +14 -4
- package/3D/controls/contentDisplay3D.js +11 -2
- package/3D/controls/contentDisplay3D.js.map +1 -1
- package/3D/controls/control3D.d.ts +2 -0
- package/3D/controls/control3D.js +14 -4
- package/3D/controls/control3D.js.map +1 -1
- package/3D/controls/holographicSlate.d.ts +4 -0
- package/3D/controls/holographicSlate.js +13 -3
- package/3D/controls/holographicSlate.js.map +1 -1
- package/package.json +2 -2
package/2D/controls/control.js
CHANGED
@@ -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
|
/**
|