mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
WIP
This commit is contained in:
parent
96eccd2ecd
commit
7d9208e951
143 changed files with 1000 additions and 1008 deletions
|
@ -8,7 +8,7 @@ import dom from '../../scripts/dom';
|
|||
import './navdrawer.css';
|
||||
import '../../assets/css/scrollstyles.css';
|
||||
|
||||
export default function (options) {
|
||||
export function NavigationDrawer(options) {
|
||||
function getTouches(e) {
|
||||
return e.changedTouches || e.targetTouches || e.touches;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
import events from 'jellyfin-apiclient';
|
||||
import playbackManager from '../components/playback/playbackmanager';
|
||||
import pluginManager from '../components/pluginManager';
|
||||
import { ConnectionManager, events } from 'jellyfin-apiclient';
|
||||
import { playbackManager } from '../components/playback/playbackmanager';
|
||||
import { pluginManager } from '../components/pluginManager';
|
||||
import inputManager from '../scripts/inputManager';
|
||||
import connectionManager from 'jellyfin-apiclient';
|
||||
import * as userSettings from '../scripts/settings/userSettings';
|
||||
|
||||
function getMinIdleTime() {
|
||||
|
@ -85,7 +84,7 @@ function ScreenSaverManager() {
|
|||
|
||||
this.show = function () {
|
||||
let isLoggedIn;
|
||||
const apiClient = window.connectionManager.currentApiClient();
|
||||
const apiClient = ConnectionManager.currentApiClient();
|
||||
|
||||
if (apiClient && apiClient.isLoggedIn()) {
|
||||
isLoggedIn = true;
|
||||
|
|
|
@ -195,6 +195,7 @@ const scrollerFactory = function (frame, options) {
|
|||
|
||||
self.frameResizeObserver = new ResizeObserver(onResize, observerOptions);
|
||||
|
||||
console.warn(frame);
|
||||
self.frameResizeObserver.observe(frame);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue