Closed pixelzoom closed 10 years ago
There is currently no way to specify the margin around the button icon. It's essentially hard-coded here:
var iconScaleFactor = Math.min( options.buttonHeight * 0.65 / icon.height, options.buttonWidth * 0.85 / icon.width );
This probably worked fine for Balancing Act, where the icons were short and wide. But it's not a general solution.
Done. Assigning to @jbphet for review.
Looks fine, closing.
There is currently no way to specify the margin around the button icon. It's essentially hard-coded here:
This probably worked fine for Balancing Act, where the icons were short and wide. But it's not a general solution.