Skip to content

Commit

Permalink
Merge pull request #119 from RationAI/development
Browse files Browse the repository at this point in the history
chore: minor fixes (removal of deprecated api, fix oidc include json …
  • Loading branch information
Aiosa authored Feb 6, 2025
2 parents bb46cca + a69c21c commit 88b234e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/oidc-client-ts/include.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@
"extraSigninRequestArgs": {
},
// endpoint to read user info from (if the token e.g. does not cover username)
"oidcUserInfo": null,
"oidcUserInfo": null
}
5 changes: 2 additions & 3 deletions modules/snapshots/snapshots.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ window.OpenSeadragon.Snapshots = class extends XOpatModuleSingleton {
this._idx = 0;
this._steps = [];
this._currentStep = null;
this._deprecated_IO_API();
this.initPostIO(); //todo consider delegation to plugins that use snapshots
this._deprecated_IO_API();
this._utils = VIEWER.tools;

this._captureVisualization = false;
Expand Down Expand Up @@ -341,8 +341,7 @@ window.OpenSeadragon.Snapshots = class extends XOpatModuleSingleton {
}

_deprecated_IO_API() {
const _this = this;
let importedJson = APPLICATION_CONTEXT.getData("snapshot-keyframes");
let importedJson = this.POSTStore.get("snapshot-keyframes");
if (importedJson) {
try {
this.importJSON(JSON.parse(importedJson));
Expand Down
2 changes: 1 addition & 1 deletion plugins/recorder/presenter.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ${UIComponents.Elements.checkBox({
<div id='playback-timeline' style="white-space: nowrap; overflow-x: auto; overflow-y: hidden; height: 48px" class="d-inline-block v-align-top position-relative flex-1 ml-3"></div>
</div>`, 'play_circle_outline');
</div>`, 'play_circle');

const _this = this;
this.setDraggable = UIComponents.Actions.draggable("playback-timeline",
Expand Down

0 comments on commit 88b234e

Please sign in to comment.