19 lines
589 B
JavaScript
19 lines
589 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.StreamDeckNode = void 0;
|
|
const core_1 = require("@elgato-stream-deck/core");
|
|
class StreamDeckNode extends core_1.StreamDeckProxy {
|
|
resetToLogoOnClose;
|
|
constructor(device, resetToLogoOnClose) {
|
|
super(device);
|
|
this.resetToLogoOnClose = resetToLogoOnClose;
|
|
}
|
|
async close() {
|
|
if (this.resetToLogoOnClose) {
|
|
await this.resetToLogo();
|
|
}
|
|
await super.close();
|
|
}
|
|
}
|
|
exports.StreamDeckNode = StreamDeckNode;
|
|
//# sourceMappingURL=wrapper.js.map
|