informatics-isi-edu / openseadragon-viewer

2D viewer with openseadragon
Apache License 2.0
5 stars 2 forks source link

Line thickness functions #43

Closed rastogi-bhavya closed 4 years ago

rastogi-bhavya commented 4 years ago

Created a new function for how the line thickness should change in accordance to the OSD zoom level. Added a URL param for selecting this function: zoomLineThickness

When the param value is:

I also removed the if condition in viewer.js line 951, because if the window is resized then OSD max zoom and min zoom change, therefore the function would have to be recalculated.

Issue: #37