takeScrollLineDelta method

int takeScrollLineDelta()

Net line scroll from the last apply (0 if none). Cleared on take so a same-generation re-paint does not blit twice.

Implementation

int takeScrollLineDelta() {
  final d = _scrollLineDeltaForPaint;
  _scrollLineDeltaForPaint = 0;
  return d;
}