Skip to content

Commit

Permalink
add interactive highlight for bicycle pump handle, phetsims/gas-prope…
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jul 1, 2024
1 parent 3dc6f27 commit 74f1121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/BicyclePumpNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Vector2 from '../../dot/js/Vector2.js';
import { Shape } from '../../kite/js/imports.js';
import InstanceRegistry from '../../phet-core/js/documentation/InstanceRegistry.js';
import optionize, { combineOptions } from '../../phet-core/js/optionize.js';
import { Circle, LinearGradient, Node, NodeOptions, PaintColorProperty, Path, PressListenerEvent, Rectangle, SceneryConstants, TColor } from '../../scenery/js/imports.js';
import { Circle, InteractiveHighlighting, LinearGradient, Node, NodeOptions, PaintColorProperty, Path, PressListenerEvent, Rectangle, SceneryConstants, TColor } from '../../scenery/js/imports.js';
import Tandem from '../../tandem/js/Tandem.js';
import sceneryPhet from './sceneryPhet.js';
import SegmentedBarGraphNode from './SegmentedBarGraphNode.js';
Expand Down Expand Up @@ -533,7 +533,7 @@ function createConeNode( pumpBodyWidth: number, height: number, fill: TColor ):
/**
* PumpHandleNode is the pump's handle.
*/
class PumpHandleNode extends Path {
class PumpHandleNode extends InteractiveHighlighting( Path ) {
public constructor( fill: TColor ) {

// empirically determined constants
Expand Down

0 comments on commit 74f1121

Please sign in to comment.