iconSize method

double iconSize()

Calculates the actual size of an icon, taking into account the relative size and the maximum size.

Implementation

double iconSize() {
  return min(ip(iconsSizeRelativeToScreen), maxIconsSize);
}