From 6e478131cda4b7c9d3f6867b49266c8aa2921b7b Mon Sep 17 00:00:00 2001 From: samreid Date: Mon, 8 Feb 2021 09:12:26 -0700 Subject: [PATCH] Revert "Prevent long strings from leaking out of the touch/mouse area, workaround for https://github.com/phetsims/wave-interference/issues/513" This reverts commit 12bdfd2a --- js/common/view/ToolboxPanel.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/common/view/ToolboxPanel.js b/js/common/view/ToolboxPanel.js index 5fddbf50..5c5d81b8 100644 --- a/js/common/view/ToolboxPanel.js +++ b/js/common/view/ToolboxPanel.js @@ -7,7 +7,6 @@ */ import Vector2 from '../../../../dot/js/Vector2.js'; -import Shape from '../../../../kite/js/Shape.js'; import DragListener from '../../../../scenery/js/listeners/DragListener.js'; import HBox from '../../../../scenery/js/nodes/HBox.js'; import waveInterference from '../../waveInterference.js'; @@ -53,9 +52,6 @@ class ToolboxPanel extends WaveInterferencePanel { // Node used to create the icon isStopwatchVisibleProperty.value = true; const stopwatchNodeIcon = stopwatchNode.rasterized().mutate( { scale: 0.45 } ); - - // Prevent long strings from leaking out of the touch/mouse area, workaround for https://github.com/phetsims/wave-interference/issues/513 - stopwatchNodeIcon.clipArea = Shape.bounds( stopwatchNodeIcon.localBounds.dilated( 2 ) ); isStopwatchVisibleProperty.value = false; // The draggable icon, which has an overlay to make the buttons draggable instead of pressable