Skip to content

Commit

Permalink
Merge pull request #1136 from girder/frame-selector-invisible-fields
Browse files Browse the repository at this point in the history
Add hidden divs for frame_id and frame_styling
  • Loading branch information
annehaley authored May 1, 2023
2 parents 1613fda + 1a4fc2e commit 417c369
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default Vue.extend({
currentModeId: 1,
indices: [],
indexInfo: {},
style: {},
};
},
watch: {
Expand Down Expand Up @@ -50,6 +51,7 @@ export default Vue.extend({
frame += info.current * info.stride;
}
});
this.currentFrame = frame
let style = this.currentModeId > 1 ? this.style : undefined
this.frameUpdate(frame, style);
},
Expand Down Expand Up @@ -135,6 +137,8 @@ export default Vue.extend({

<template>
<div class="image-frame-control-box">
<div id="current_image_frame" style="display: none;">{{ currentFrame }}</div>
<div id="current_image_style" style="display: none;">{{ style }}</div>
<div>
<label for="mode">Image control mode: </label>
<select
Expand Down

0 comments on commit 417c369

Please sign in to comment.