iSubMusicStreamer icon indicating copy to clipboard operation
iSubMusicStreamer copied to clipboard

improve auto scrolling label

Open mattneub opened this issue 8 months ago • 0 comments

This PR tackles a number of issue connected with the auto scrolling label:

  • There were some circumstances where the auto scrolling label would keep scrolling even though it was in the "background"; this PR stops the scrolling during those circumstances.
  • The entire layout of the auto scrolling label was deeply troubled. The problem stemmed from three sources (and this PR makes revisions with respect to all of them):
    • Some instances of auto scrolling label, but not all, need to display their text centered if it isn't long enough to scroll.
    • Some instance of auto scrolling label, but not, need to be able to change their contents "live".
    • There was a misunderstanding about what a scroll view's content view is for and how to use it correctly.
  • Due to a bug, the temporal gap between scrolls could get longer and longer as time went by. This PR fixes that.
  • Some efficiencies are also introduced.

mattneub avatar Dec 26 '23 16:12 mattneub