mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 19:54:39 +00:00
feat: improve scrolling with calculator
This commit is contained in:
@@ -31,8 +31,13 @@ const testPlugin: Plugin<typeof settings> = {
|
||||
run: async (api) => {
|
||||
console.log('Test plugin running');
|
||||
|
||||
api.events.on('ping', (data) => {
|
||||
console.log('Ping received! Page changed to: ', data);
|
||||
});
|
||||
|
||||
const { unregister } = api.seqta.onPageChange((page) => {
|
||||
console.log('Page changed to', page);
|
||||
//console.log('Page changed to', page);
|
||||
api.events.emit('ping', page);
|
||||
|
||||
console.log('Current setting value:', api.settings.someSetting);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user