Ver código fonte

double click support in utilityLayerRenderer

Cedric Guillemet 5 anos atrás
pai
commit
0f556fcb14
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      src/Rendering/utilityLayerRenderer.ts

+ 2 - 1
src/Rendering/utilityLayerRenderer.ts

@@ -150,7 +150,8 @@ export class UtilityLayerRenderer implements IDisposable {
                 if (!this.processAllEvents) {
                     if (prePointerInfo.type !== PointerEventTypes.POINTERMOVE
                         && prePointerInfo.type !== PointerEventTypes.POINTERUP
-                        && prePointerInfo.type !== PointerEventTypes.POINTERDOWN) {
+                        && prePointerInfo.type !== PointerEventTypes.POINTERDOWN
+                        && prePointerInfo.type !== PointerEventTypes.POINTERDOUBLETAP) {
                         return;
                     }
                 }