Fix Maximum call stack size exception in computeLabelSizes (#7883)
Calling Math.max with a large number of values was throwing an exception. Tracking the current largest width and height as the widths and heights are built up should be faster and avoids the exception.
M
Matthew Crumley committed
42ed5895b28fcfd10d43e1ce7a54bfa7e060998b
Parent: 063b7dc
Committed by GitHub <noreply@github.com>
on 10/17/2020, 8:35:00 PM