Skip to content

Commit

Permalink
fix: update loupedeck lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Oct 10, 2022
1 parent 79172e7 commit f822386
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"dependencies": {
"@elgato-stream-deck/node": "^5.6.0",
"@julusian/jpeg-turbo": "^2.0.0",
"@loupedeck/node": "^0.1.1",
"@loupedeck/node": "^0.2.0",
"@xencelabs-quick-keys/node": "^0.4.0",
"electron-about-window": "^1.15.2",
"electron-prompt": "^1.7.0",
Expand Down
6 changes: 2 additions & 4 deletions src/device-types/loupedeck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ export class LoupedeckWrapper implements WrappedDevice {
width,
height,
x + keyPadding,
y + keyPadding,
true
y + keyPadding
)
} catch (e_1) {
console.error(`device(${deviceId}): fillImage failed: ${e_1}`)
Expand Down Expand Up @@ -246,8 +245,7 @@ export class LoupedeckWrapper implements WrappedDevice {
width,
height,
keyPadding,
keyPadding,
true
keyPadding
)
}
})
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@
node-addon-api "^5.0.0"
pkg-prebuilds "~0.1.0"

"@loupedeck/node@^0.1.1":
version "0.1.1"
resolved "https://registry.yarnpkg.com/@loupedeck/node/-/node-0.1.1.tgz#e5b8022ea9ded1b633a14cd75857446d42b9d237"
integrity sha512-moCj5qyLDgWim/gDweI7SkL2POFwWMsJbs2VvzG9cBaAufrNS5rT+I+I5kbnQ1+2bo+1guv5rxZUZeX78ZdmAA==
"@loupedeck/node@^0.2.0":
version "0.2.0"
resolved "https://registry.yarnpkg.com/@loupedeck/node/-/node-0.2.0.tgz#6a3212ff007914431238c7d48e3c5f3a2ec650a2"
integrity sha512-AKVcEkBjNdptFNwNNKKk5aWiJwie36B/NZwrzBLztRMzkd7S8EP9QqLvIg3S/8Xikj6nJgoMqlam00NLl5wBlg==
dependencies:
eventemitter3 "^4.0.7"
p-queue "6"
p-queue "^6.6.2"
serialport "^10.4.0"
tslib "^2.4.0"

Expand Down Expand Up @@ -3620,7 +3620,7 @@ p-map@^4.0.0:
dependencies:
aggregate-error "^3.0.0"

p-queue@6:
p-queue@^6.6.2:
version "6.6.2"
resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426"
integrity sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==
Expand Down

0 comments on commit f822386

Please sign in to comment.