Skip to content

Commit

Permalink
Remove RatioHalfImplementationOptions, see #404
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Feb 2, 2022
1 parent b25f096 commit c038d3e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/common/view/RatioHalf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,10 @@ type RatioHalfSelfOptions = {
bothHandsCueDisplay?: CueDisplay;
}

// TODO: remove helpTextBehavior workaround when supported
type RatioHalfOptions = RatioHalfSelfOptions & RectangleOptions;
type RatioHalfImplementationOptions = Required<RatioHalfSelfOptions> & RectangleOptions;

class RatioHalf extends Rectangle {


public framingRectangleHeight: number;
public readonly isBeingInteractedWithProperty: BooleanProperty;
private ratioLockedProperty: Property<boolean>;
Expand Down Expand Up @@ -148,7 +145,7 @@ class RatioHalf extends Rectangle {
tagName: 'div',
accessibleNameBehavior: ratioHalfAccessibleNameBehavior,
accessibleName: null
}, providedOptions ) as RatioHalfImplementationOptions;
}, providedOptions );

super( 0, 0, options.bounds.width, options.bounds.height );

Expand Down

0 comments on commit c038d3e

Please sign in to comment.