function getScaleBasis(diffX, diffY) {
  return diffX > diffY ? 'width' : 'height';
}
return scale basis type
@param {number} diffX - X distance of the cursor and corner.
@param {number} diffY - Y distance of the cursor and corner.
@returns {string}
@private