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:
log, then the log of the current OSD zoom level is used to calculate the linethickness
default (i.e. no param value passed), then the thickness changes linearly with the OSD zoom level
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.
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:
log
, then the log of the current OSD zoom level is used to calculate the linethicknessI 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