handleScale method

void handleScale()

Handles the scale event.

This method calls the onScale callback and then calls handleUpdateUI.

Implementation

void handleScale() {
  onScale?.call();
  handleUpdateUI();
}