Skip to content

Commit 5fe6ef9

Browse files
Merge pull request #87 from cyberblaststudios/novastar_vx1000_layer_fix
fixed issue with layer command for VX1000 that caused the command to not function
2 parents 9ea6a32 + c1f1f0b commit 5fe6ef9

File tree

3 files changed

+1148
-1958
lines changed

3 files changed

+1148
-1958
lines changed

actions.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ function getLayerUpdateCommandVX1000(
1313
layerPriorityBuffer,
1414
connectorCodeBuffer,
1515
opacity,
16+
instance
1617
) {
1718
let bufferArray = []
1819

@@ -390,9 +391,8 @@ export const getActions = function (instance) {
390391
}
391392
}
392393

393-
// Layer update / configuration (VX1000 only)
394+
// Layer update / configuration
394395
if (instance.model.layers) {
395-
//instance.config.modelID == 'vx1000') {
396396
actions['update_layer_vx1000'] = {
397397
name: 'Update Layer VX',
398398
options: [
@@ -504,6 +504,7 @@ export const getActions = function (instance) {
504504
layerPriority.cmd,
505505
connectorCode.cmd,
506506
opacity,
507+
instance
507508
)
508509

509510
instance.sendMessage(cmd)

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "novastar-controller",
3-
"version": "2.6.2",
3+
"version": "2.6.3",
44
"main": "index.js",
55
"type": "module",
66
"scripts": {
@@ -11,7 +11,8 @@
1111
"@companion-module/tools": "^2.1.0"
1212
},
1313
"dependencies": {
14-
"@companion-module/base": "^1.11.2"
14+
"@companion-module/base": "1.12.x"
1515
},
16-
"prettier": "@companion-module/tools/.prettierrc.json"
16+
"prettier": "@companion-module/tools/.prettierrc.json",
17+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
1718
}

0 commit comments

Comments
 (0)