This commit is contained in:
CDeenen
2021-02-25 06:48:27 +01:00
parent f994e64fc7
commit 7fa5352459
22 changed files with 1266 additions and 125 deletions

View File

@@ -444,4 +444,12 @@ export class StreamDeck{
this.imageBufferCounter = 0;
this.imageBuffer = [];
}
noPermission(context,showTxt=true){
const url = 'modules/MaterialDeck/img/black.png';
const background = '#000000';
const txt = showTxt ? 'no\npermission' : '';
this.setIcon(context,url,background);
this.setTitle(txt,context);
}
}