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:
committed by
Robin Gareus
parent
d5c2af1cfb
commit
4579f5b4cd
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user