WildMeOrg / scout

MIT License
6 stars 5 forks source link

Export's "BOX H" in annotations reports wrong height #48

Closed TanyaStere42 closed 1 year ago

TanyaStere42 commented 1 year ago

Current Behavior views/pages/exports.ejs BOX H field exports the image height

Expected Behavior views/pages/exports.ejs BOX H field exports the annotation height

simbamangu commented 1 year ago

Pull request made #51

Fixed two places in app.js where box.y was being assigned to Box H instead of box.h.

i.e. from

fields['Box H'] = typeof(box.h) !== 'undefined' ? box.y : '';

to

fields['Box H'] = typeof(box.h) !== 'undefined' ? box.h : '';