Closed tnrich closed 2 years ago
Basically the Alignment View zooms too aggressively and instead should act more like the nice smooth zooming of the new linear view zoom
Use these new values: (in the alignment view UncontrolledSlider component)
stepSize={0.05} clickStepSize={0.5} initialValue={0} max={10} min={0}
Use something like this logic for the zoom levels to calculate the new char width (inside the alignment view zoom handler)
const scaleFactor = Math.pow(12 / initialCharWidth, 1 / 10); const newCharWidth = initialCharWidth * Math.pow(scaleFactor, zoomLvl); setCharWidth(newCharWidth);
Closing as this has been fixed!
Basically the Alignment View zooms too aggressively and instead should act more like the nice smooth zooming of the new linear view zoom
Use these new values: (in the alignment view UncontrolledSlider component)
Use something like this logic for the zoom levels to calculate the new char width (inside the alignment view zoom handler)