Add reload button to control interface

This commit is contained in:
Max Goodhart
2020-06-19 08:01:59 -07:00
parent 1a3c82b2a5
commit a58a94aa51
5 changed files with 81 additions and 26 deletions

View File

@@ -60,6 +60,8 @@ async function main() {
streamWindow.setViews(new Map(msg.views))
} else if (msg.type === 'set-listening-view') {
streamWindow.setListeningView(msg.viewIdx)
} else if (msg.type === 'reload-view') {
streamWindow.reloadView(msg.viewIdx)
}
}