|
|
@ -22925,6 +22925,13 @@ class PlexMeetsHomeAssistant extends HTMLElement {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
const top = this.getTop();
|
|
|
|
const top = this.getTop();
|
|
|
|
|
|
|
|
movieElemLocal.style.transition = '0s';
|
|
|
|
|
|
|
|
movieElemLocal.style.left = `${movieElemLocal.offsetLeft - this.content.scrollLeft}px`;
|
|
|
|
|
|
|
|
movieElemLocal.style.top = `${movieElemLocal.offsetTop}px`;
|
|
|
|
|
|
|
|
movieElemLocal.style.position = 'absolute';
|
|
|
|
|
|
|
|
movieElemLocal.style.zIndex = '3';
|
|
|
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
|
|
|
movieElemLocal.style.transition = '0.5s';
|
|
|
|
this.showDetails(this.activeMovieElemData);
|
|
|
|
this.showDetails(this.activeMovieElemData);
|
|
|
|
this.showBackground();
|
|
|
|
this.showBackground();
|
|
|
|
if (lodash.isEqual(movieElem.style.width, movieElem.style.height)) {
|
|
|
|
if (lodash.isEqual(movieElem.style.width, movieElem.style.height)) {
|
|
|
@ -22935,12 +22942,11 @@ class PlexMeetsHomeAssistant extends HTMLElement {
|
|
|
|
movieElemLocal.style.width = `${this.minExpandedWidth}px`;
|
|
|
|
movieElemLocal.style.width = `${this.minExpandedWidth}px`;
|
|
|
|
movieElemLocal.style.height = `${this.minExpandedHeight}px`;
|
|
|
|
movieElemLocal.style.height = `${this.minExpandedHeight}px`;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
movieElemLocal.style.position = 'absolute';
|
|
|
|
|
|
|
|
movieElemLocal.style.zIndex = '3';
|
|
|
|
|
|
|
|
movieElemLocal.style.left = '16px';
|
|
|
|
movieElemLocal.style.left = '16px';
|
|
|
|
movieElemLocal.style.top = `${top + 16}px`;
|
|
|
|
movieElemLocal.style.top = `${top + 16}px`;
|
|
|
|
movieElemLocal.dataset.clicked = 'true';
|
|
|
|
movieElemLocal.dataset.clicked = 'true';
|
|
|
|
this.activeMovieElem = movieElemLocal;
|
|
|
|
this.activeMovieElem = movieElemLocal;
|
|
|
|
|
|
|
|
}, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.getTop = () => {
|
|
|
|
this.getTop = () => {
|
|
|
|