Added category icon, renamed StreamDeck
This commit is contained in:
parent
af76f81b36
commit
995165d58b
6 changed files with 11 additions and 12 deletions
|
|
@ -8,7 +8,7 @@ const fadeColor = function (col, amt) {
|
|||
return '#' + (g | (b << 8) | (r << 16)).toString(16).padStart(6, 0);
|
||||
};
|
||||
|
||||
StreamDeck.onConnected(({ appInfo }) => {
|
||||
$SD.onConnected(({ appInfo }) => {
|
||||
if (appInfo?.colors) return;
|
||||
const clrs = appInfo.colors;
|
||||
const node = document.getElementById('#sdpi-dynamic-styles') || document.createElement('style');
|
||||
|
|
|
|||
|
|
@ -368,7 +368,7 @@ class ELGSDStreamDeck {
|
|||
}
|
||||
}
|
||||
|
||||
var StreamDeck = new ELGSDStreamDeck();
|
||||
var $SD = new ELGSDStreamDeck();
|
||||
|
||||
/**
|
||||
* connectElgatoStreamDeckSocket
|
||||
|
|
@ -381,5 +381,5 @@ var StreamDeck = new ELGSDStreamDeck();
|
|||
* @param {string} actionInfo - Context is an internal identifier used to communicate to the host application.
|
||||
*/
|
||||
function connectElgatoStreamDeckSocket() {
|
||||
StreamDeck.connect(arguments);
|
||||
$SD.connect(arguments);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue