We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5e6369 commit cd28cfaCopy full SHA for cd28cfa
src/index.ts
@@ -77,6 +77,7 @@ export class PointerInteractionsPlugin implements ShaderArtPlugin {
77
hostElement.setPointerCapture(e.pointerId);
78
this.setUniformVec2('pointerStart', this.start);
79
this.setUniformVec2('pointer', this.start);
80
+ this.setUniformInt('dragging', 1);
81
this.notifySubscribers(this.start[0], this.start[1], this.dragging);
82
};
83
0 commit comments