mirror of
https://github.com/jellyfin/jellyfin-media-player.git
synced 2024-11-23 05:59:43 +00:00
Fix setBackdropTransparency.
This commit is contained in:
parent
0c57c6d2ea
commit
b042a15fae
@ -15,10 +15,7 @@
|
||||
this.appHost = appHost;
|
||||
this.appSettings = appSettings;
|
||||
|
||||
// this can be removed after 10.9
|
||||
this.setTransparency = (dashboard && dashboard.setBackdropTransparency)
|
||||
? dashboard.setBackdropTransparency.bind(dashboard)
|
||||
: appRouter.setTransparency.bind(appRouter);
|
||||
this.setTransparency = dashboard.default.setBackdropTransparency.bind(dashboard);
|
||||
|
||||
/**
|
||||
* @type {string}
|
||||
@ -39,7 +36,7 @@
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.isFetching = false;
|
||||
|
||||
|
||||
/**
|
||||
* @type {HTMLDivElement | null | undefined}
|
||||
*/
|
||||
@ -539,7 +536,7 @@
|
||||
player.finished.connect(this.onEnded);
|
||||
player.updateDuration.connect(this.onDuration);
|
||||
player.error.connect(this.onError);
|
||||
player.paused.connect(this.onPause);
|
||||
player.paused.connect(this.onPause);
|
||||
}
|
||||
|
||||
if (options.fullscreen) {
|
||||
|
Loading…
Reference in New Issue
Block a user