Skip to content

Commit

Permalink
Merge pull request #113 from istnv/bug/typo
Browse files Browse the repository at this point in the history
Fixed typo that prevented setting/toggling options
  • Loading branch information
istnv authored Feb 4, 2024
2 parents 355e9e4 + b039ff2 commit f0e1204
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 4 additions & 2 deletions actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function compileActionDefinitions(self) {
* @returns {Integer}
*/
const setToggle = (oldVal, opt) => {
const o = parsetInt(opt)
const o = parseInt(+opt)
return 2 === o ? 1 - parseInt(oldVal) : o
}

Expand Down Expand Up @@ -90,7 +90,8 @@ export function compileActionDefinitions(self) {
},
},
new_Go: {
name: 'Go (Cue)',
name: 'Go Cue(s)',
description: 'GO with options',
options: [
{
type: 'dropdown',
Expand Down Expand Up @@ -139,6 +140,7 @@ export function compileActionDefinitions(self) {
},
new_auditGo: {
name: 'Audition Cue(s)',
description: 'QLab5 only',
options: [
{
type: 'dropdown',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "figure53-qlab-advance",
"version": "2.5.1",
"version": "2.5.2",
"main": "qlabfb.js",
"type": "module",
"scripts": {
Expand Down
6 changes: 0 additions & 6 deletions qlabfb.js
Original file line number Diff line number Diff line change
Expand Up @@ -1110,12 +1110,6 @@ class QLabInstance extends InstanceBase {
this.checkFeedbacks('ws_mode')
}
break
case 'showMode':
if (this.showMode != j.data) {
this.showMode = j.data
this.checkFeedbacks('ws_mode')
}
break
case 'liveFadePreview':
if (this.liveFadePreview != j.data) {
this.liveFadePreview = j.data
Expand Down

0 comments on commit f0e1204

Please sign in to comment.