Skip to content

Commit 54b4a1a

Browse files
Comment re odd behaviour
1 parent d0b02a0 commit 54b4a1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vanilla/makecode-frame-driver.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ export class MakeCodeFrameDriver {
297297
// Native app oriented event that doesn't have a 'type' field.
298298
switch (data.cmd) {
299299
case 'backtap':
300+
// MakeCode seems to send this twice for a single click but there's little we can do here.
300301
return this.options.onBack?.();
301302
case 'backpress':
302303
return this.options.onBackLongPress?.();

0 commit comments

Comments
 (0)