scrollX method

dynamic scrollX(
  1. double left
)

Implementation

scrollX(double left) {
  // allow scrolling to 0 (edge) as well
  if (left >= 0 && fx != left) {
    scrollXY(left, fy);
  }
}