plutonium 0.56.2 → 0.56.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28021,10 +28021,8 @@ this.ifd0Offset: ${this.ifd0Offset}, file.byteLength: ${e4.byteLength}`), e4.tif
28021
28021
  storageKey: { type: String, default: "pu_rail_pinned" }
28022
28022
  };
28023
28023
  connect() {
28024
- const pinned = localStorage.getItem(this.storageKeyValue) === "true";
28025
- if (pinned) {
28026
- document.body.classList.add("pu-rail-pinned");
28027
- }
28024
+ const pinned = localStorage.getItem(this.storageKeyValue) !== "false";
28025
+ document.body.classList.toggle("pu-rail-pinned", pinned);
28028
28026
  }
28029
28027
  togglePin() {
28030
28028
  const pinned = document.body.classList.toggle("pu-rail-pinned");