mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-20 14:39:06 +00:00
bugfix: osc gotoid
- typo in loadEvent call - force string on osc parameter call
This commit is contained in:
@@ -472,7 +472,7 @@ class EventTimer extends Timer {
|
|||||||
|
|
||||||
if (eventIndex === -1) return;
|
if (eventIndex === -1) return;
|
||||||
this.pause();
|
this.pause();
|
||||||
this.loadEvent(eventIndex, true, true);
|
this.loadEvent(eventIndex, 'load', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Loads a given event
|
// Loads a given event
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ const initiateOSC = (config) => {
|
|||||||
case 'gotoid':
|
case 'gotoid':
|
||||||
console.log('calling gotoid with', args);
|
console.log('calling gotoid with', args);
|
||||||
try {
|
try {
|
||||||
global.timer.loadEventById(args.toLowerCase());
|
global.timer.loadEventById(args.toString().toLowerCase());
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('error calling goto: ', error);
|
console.log('error calling goto: ', error);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user