suspendAutoScroll method

void suspendAutoScroll()

Suspends auto-scroll without changing the magnet preference.

Implementation

void suspendAutoScroll() {
  autoScrollSuspendedByUser = true;
  if (!autoScrollEnabled) {
    update();
    return;
  }
  autoScrollEnabled = false;
  update();
}