Skip to content

Commit

Permalink
perf: interval of 1s to append to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
domi7777 committed Nov 14, 2024
1 parent ef5dee6 commit 5323810
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scenes/PadsScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export abstract class PadsScene extends Phaser.Scene {
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars
onSettingChange(_setting: Setting) {
logger.log('Setting changed', _setting);
onSettingChange(setting: Setting) {
logger.log('Setting changed', JSON.stringify(setting));
}
}
1 change: 1 addition & 0 deletions src/settings/TweakPane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export class TweakPane {
multiline: true,
rows: 10,
hidden: true,
interval: 1000,
});

this.resize();
Expand Down

0 comments on commit 5323810

Please sign in to comment.