Skip to content

Commit

Permalink
Merge pull request #942 from camicroscope/revert-902-yukaUU-save_mark…
Browse files Browse the repository at this point in the history
…s_Include_userXYZoom

Revert "Saving Marks Should Include User's X, Y, Zoom, etc #844"
  • Loading branch information
birm committed Apr 3, 2024
2 parents 29701c4 + c997880 commit ec5ef7c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions apps/viewer/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,13 +257,6 @@ function initCore() {
attributes = data.properties.annotations;
if (area) attributes.area = area;
if (circumference) attributes.circumference = circumference;

const states = StatesHelper.getCurrentStates(isImageCoordinate = true);
if (!states) return;
attributes.X = states.x;
attributes.Y = states.y;
attributes.zoom = states.z;

body = convertHumanAnnotationToPopupBody(attributes);
if (
data.geometries &&
Expand Down

0 comments on commit ec5ef7c

Please sign in to comment.