From 86d1fac389a4bfbec8bdd66923f3079e7a499e01 Mon Sep 17 00:00:00 2001 From: Jesse Date: Thu, 2 Apr 2020 10:51:06 -0400 Subject: [PATCH] reduce size of TimeControlNode push buttons, see #240 --- .../common/view/EnergySkateParkScreenView.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/energy-skate-park/common/view/EnergySkateParkScreenView.js b/js/energy-skate-park/common/view/EnergySkateParkScreenView.js index ef0f2827..cf0b0c5b 100644 --- a/js/energy-skate-park/common/view/EnergySkateParkScreenView.js +++ b/js/energy-skate-park/common/view/EnergySkateParkScreenView.js @@ -364,17 +364,16 @@ class EnergySkateParkScreenView extends ScreenView { } ); // play/pause and step buttons are same size until playingProperty is false - const buttonRadius = 18; this.timeControlNode = new TimeControlNode( playingProperty, { tandem: tandem.createTandem( 'timeControlNode' ), timeControlSpeedProperty: model.timeControlSpeedProperty, buttonGroupXSpacing: 19, // extra spacing avoids pointer area overlap when play pause button size increases playPauseStepButtonOptions: { playPauseButtonOptions: { - radius: buttonRadius + radius: 18 }, stepForwardButtonOptions: { - radius: buttonRadius, + radius: 13, listener: model.manualStep.bind( model ) } }