Bump version to 1.2.2.0 and update manifest with changelog for visibility fixes
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 1m0s

This commit is contained in:
CodeDevMLH
2026-01-24 23:52:59 +01:00
parent 10279e97d9
commit 0444cf333d
5 changed files with 23 additions and 5 deletions

View File

@@ -12,7 +12,7 @@
<!-- <TreatWarningsAsErrors>false</TreatWarningsAsErrors> -->
<Title>Jellyfin Media Bar Enhanced Plugin</Title>
<Authors>CodeDevMLH</Authors>
<Version>1.2.1.0</Version>
<Version>1.2.2.0</Version>
<RepositoryUrl>https://github.com/CodeDevMLH/jellyfin-plugin-media-bar-enhanced</RepositoryUrl>
</PropertyGroup>

View File

@@ -170,6 +170,12 @@
height: 90%;
overflow: hidden;
margin: 0 auto;
pointer-events: auto;
}
#slides-container[style*="display: none"],
#slides-container[style*="visibility: hidden"] {
pointer-events: none !important;
}
.arrow {

View File

@@ -1275,9 +1275,12 @@ const VisibilityObserver = {
const isVisible =
(window.location.hash === "#/home.html" ||
window.location.hash === "#/home") &&
activeTab &&
activeTab.getAttribute("data-index") === "0";
container.style.display = isVisible ? "block" : "none";
container.style.visibility = isVisible ? "visible" : "hidden";
container.style.pointerEvents = isVisible ? "auto" : "none";
if (isVisible) {
if (STATE.slideshow.slideInterval && !STATE.slideshow.isPaused) {
@@ -1296,11 +1299,11 @@ const VisibilityObserver = {
* Initializes visibility observer
*/
init() {
const observer = new MutationObserver(this.updateVisibility);
const observer = new MutationObserver(() => this.updateVisibility());
observer.observe(document.body, { childList: true, subtree: true });
document.body.addEventListener("click", this.updateVisibility);
window.addEventListener("hashchange", this.updateVisibility);
document.body.addEventListener("click", () => this.updateVisibility());
window.addEventListener("hashchange", () => this.updateVisibility());
this.updateVisibility();
},

View File

@@ -27,7 +27,8 @@ Setzt deine Commits neu auf die Spitze eines anderen Branches. Die Commit-IDs we
```bash
git checkout dev
git rebase main
git fetch origin
git rebase origin/main
```
| Details | |

View File

@@ -8,6 +8,14 @@
"category": "General",
"imageUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/raw/branch/main/logo.png",
"versions": [
{
"version": "1.2.2.0",
"changelog": "- Fixes issues with persistent slides-container visibility",
"targetAbi": "10.11.0.0",
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/jellyfin-plugin-media-bar-enhanced/releases/download/v1.2.2.0/Jellyfin.Plugin.MediaBarEnhanced.zip",
"checksum": "",
"timestamp": ""
},
{
"version": "1.2.1.0",
"changelog": "- Update mediaBarEnhanced.js and mediaBarEnhanced.css with version 3.0.8 from original repo",