Reported by @MrPapaya-JRR in the last comment on #16, and split out so it does not get lost now that the cut bug there is fixed.
Select the whole of a large note, then drag the text size slider. The text does resize, but the slider itself does not move until after the resize has finished, so it reads as though the control is not responding. The usual result is overshooting and not landing on the size you wanted.
This is the same shape as the line number problem fixed in 1.2.0: work proportional to the size of the whole document is happening on the UI thread, on every step of the interaction, rather than being throttled or limited to what is on screen.
Likely fix along the same lines: let the slider update immediately, apply the formatting on a short debounce, and apply it to the selection in one pass rather than per step.
Reported by @MrPapaya-JRR in the last comment on #16, and split out so it does not get lost now that the cut bug there is fixed.
Select the whole of a large note, then drag the text size slider. The text does resize, but the slider itself does not move until after the resize has finished, so it reads as though the control is not responding. The usual result is overshooting and not landing on the size you wanted.
This is the same shape as the line number problem fixed in 1.2.0: work proportional to the size of the whole document is happening on the UI thread, on every step of the interaction, rather than being throttled or limited to what is on screen.
Likely fix along the same lines: let the slider update immediately, apply the formatting on a short debounce, and apply it to the selection in one pass rather than per step.