@panoramax/web-viewer 5.0.0-develop-ed63d868 → 5.0.0-develop-7f1fc6a0
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.
- package/build/cjs/index.js +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index_photoviewer.js +2 -2
- package/build/cjs/index_photoviewer.js.map +1 -1
- package/build/esm/components/core/Basic.js +1 -1
- package/build/esm/components/menus/PictureMetadata.js +2 -1
- package/build/esm/components/ui/AnnotationsSwitch.js +1 -0
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import BasicStyles from "./Basic.css" with { type: "css" };
|
|
|
9
9
|
document.adoptedStyleSheets.push(AtkinsonStyles);
|
|
10
10
|
document.adoptedStyleSheets.push(BasicStyles);
|
|
11
11
|
|
|
12
|
-
const __COMMIT_HASH__ = "
|
|
12
|
+
const __COMMIT_HASH__ = "7f1fc6a";
|
|
13
13
|
const __PACKAGE_VERSION__ = "5.0.0";
|
|
14
14
|
const __PACKAGE_ISSUES_URL__ = "https://gitlab.com/panoramax/clients/web-viewer/-/work_items";
|
|
15
15
|
|
|
@@ -77,7 +77,7 @@ export default class PictureMetadata extends LitElement {
|
|
|
77
77
|
this._parent.psv.addEventListener("annotation-focused", gototags);
|
|
78
78
|
this._parent.psv.addEventListener("annotations-toggled", e => {
|
|
79
79
|
if(e.detail.visible) {
|
|
80
|
-
gototags
|
|
80
|
+
setTimeout(gototags, 250);
|
|
81
81
|
}
|
|
82
82
|
});
|
|
83
83
|
if(this._parent.psv.getSelectedAnnotations().length > 0) {
|
|
@@ -105,6 +105,7 @@ export default class PictureMetadata extends LitElement {
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
/** @private */
|
|
108
|
+
// eslint-disable-next-line class-methods-use-this
|
|
108
109
|
_toTab(title, data) {
|
|
109
110
|
return html`
|
|
110
111
|
<h4 slot="title">${title}</h4>
|
|
@@ -112,6 +112,7 @@ export default class AnnotationsSwitch extends LitElement {
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
/** @private */
|
|
115
|
+
// eslint-disable-next-line class-methods-use-this
|
|
115
116
|
_persistAnnotationsLocalStorage(isAnnotToggled) {
|
|
116
117
|
localStorage.setItem(DISABLE_ANNOTATIONS_PARAM, isAnnotToggled ? "false": "true");
|
|
117
118
|
}
|
package/package.json
CHANGED