Skip to content
  • James Westman's avatar
    viewport: Fix failed check in min/max zoom · 996f9a7a
    James Westman authored and Corentin Noël's avatar Corentin Noël committed
    The check failed when a min zoom greater than 0 was set before a max
    zoom was set, because the max zoom is still 0 at that point in the object
    construction process.
    
    Fixed by setting the default values in the initializer method.
    996f9a7a