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 77ce56f commit 1ccfd22Copy full SHA for 1ccfd22
1 file changed
src/lib/renderer/inSim/elements/Button.tsx
@@ -473,7 +473,11 @@ export class Button extends InSimElement {
473
this.log(`add onType listener`);
474
475
const onTypeListener = (bttPacket: IS_BTT, inSim: InSim) => {
476
- if (this.packet.ClickID === bttPacket.ClickID) {
+ if (
477
+ this.packet.ClickID === bttPacket.ClickID &&
478
+ (this.packet.UCID === bttPacket.UCID ||
479
+ this.packet.UCID === Button.UCID_ALL)
480
+ ) {
481
onType(bttPacket, inSim);
482
}
483
};
0 commit comments