diff --git a/js/common/view/EnergyBarGraph.js b/js/common/view/EnergyBarGraph.js index 4ae49625..ac1f28b6 100644 --- a/js/common/view/EnergyBarGraph.js +++ b/js/common/view/EnergyBarGraph.js @@ -153,7 +153,9 @@ class EnergyBarGraph extends Node { const zoomButtonOptions = { baseColor: ColorConstants.LIGHT_BLUE, - magnifyingGlassRadius: 6, + magnifyingGlassOptions: { + glassRadius: 6 + }, xMargin: 7, yMargin: 5, diff --git a/js/graphs/view/EnergyGraphZoomButton.js b/js/graphs/view/EnergyGraphZoomButton.js index d823f2d7..38630298 100644 --- a/js/graphs/view/EnergyGraphZoomButton.js +++ b/js/graphs/view/EnergyGraphZoomButton.js @@ -22,7 +22,9 @@ class EnergyGraphZoomButton extends ZoomButton { options = merge( { in: true, // true: zoom-in button, false: zoom-out button scaleDelta: 1, // how much to change scaleProperty when zooming in or out - magnifyingGlassRadius: 6, + magnifyingGlassOptions: { + glassRadius: 6 + }, xMargin: 4, yMargin: 4, touchAreaXDilation: 3,