WebSockets: transport surface minor optimizations

Layout tweaks on small screens (ie, phones)
Custom font for transport time
Fix ArdourClient constructor parameters
This commit is contained in:
Luciano Iam
2020-04-20 12:34:28 +02:00
committed by Robin Gareus
parent d5c2af1cfb
commit 4579f5b4cd
5 changed files with 40 additions and 22 deletions

View File

@@ -26,11 +26,11 @@ import { MessageChannel } from './channel.js';
class BaseArdourClient {
constructor () {
constructor (host) {
this._callbacks = [];
this._connected = false;
this._pendingRequest = null;
this._channel = new MessageChannel(location.host);
this._channel = new MessageChannel(host || location.host);
this._channel.onError = (error) => {
this._fireCallbacks('error', error);