mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-07-26 09:18:39 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bb400f98ef | |||
| 0f893e0168 | |||
| 553ed3f76d | |||
| c9504933d2 | |||
| d68325b1a5 | |||
| 75ac344846 | |||
| 97c118bf99 |
@@ -25,4 +25,4 @@ A dashboard for everything in your show.
|
||||
- Shure ULXD Wireless
|
||||
- DiGico SD Consoles
|
||||
- PosiStageNet
|
||||
- Livestream Studio (soon)
|
||||
- Livestream Studio
|
||||
|
||||
@@ -40,6 +40,7 @@ const menuTemplate = [
|
||||
{ role: 'togglefullscreen' },
|
||||
{
|
||||
label: 'Toggle Sidebar',
|
||||
accelerator: 'CommandOrControl+B',
|
||||
id: 'toggleSidebar',
|
||||
click(menuItem, window, event) {
|
||||
mainWindow.webContents.send('toggleSidebar');
|
||||
@@ -151,9 +152,7 @@ const menuTemplate = [
|
||||
const windowMac = {
|
||||
width: 1500,
|
||||
height: 900,
|
||||
titleBarStyle: 'customButtonsOnHover',
|
||||
transparent: false,
|
||||
frame: false,
|
||||
show: false,
|
||||
vibrancy: 'window',
|
||||
visualEffectState: 'followWindow',
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "cue-view",
|
||||
"productName": "Cue View",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"description": "A dashboard for everything in your show",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -73,7 +73,7 @@ exports.data = function data(_device, oscData) {
|
||||
return;
|
||||
}
|
||||
if (json.status === 'error') {
|
||||
device.send('/workspaces');
|
||||
// device.send('/workspaces');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
+14
-6
@@ -100,13 +100,21 @@ module.exports.draw = function draw(device) {
|
||||
const d = device;
|
||||
const $deviceDrawArea = document.getElementById(`device-${d.id}-draw-area`);
|
||||
|
||||
if ($deviceDrawArea) {
|
||||
const scriptEl = $deviceDrawArea.contentWindow.document.createRange().createContextualFragment(generateBodyHTML(d));
|
||||
$deviceDrawArea.contentWindow.document.body.replaceChildren(scriptEl);
|
||||
} else {
|
||||
drawDeviceFrame(d.id);
|
||||
if (device.drawTimeout !== undefined) {
|
||||
clearTimeout(device.drawTimeout);
|
||||
}
|
||||
d.drawn = true;
|
||||
|
||||
d.drawTimeout = setTimeout(() => {
|
||||
if ($deviceDrawArea) {
|
||||
const scriptEl = $deviceDrawArea.contentWindow.document
|
||||
.createRange()
|
||||
.createContextualFragment(generateBodyHTML(d));
|
||||
$deviceDrawArea.contentWindow.document.body.replaceChildren(scriptEl);
|
||||
} else {
|
||||
drawDeviceFrame(d.id);
|
||||
}
|
||||
d.drawn = true;
|
||||
}, 200);
|
||||
};
|
||||
|
||||
module.exports.update = function update(device, type, data) {
|
||||
|
||||
Reference in New Issue
Block a user