-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
factor out RangedProperty and name to TRangedProperty, phetsims/axon#425
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
* @author Jonathan Olson <[email protected]> | ||
*/ | ||
|
||
import { RangedProperty } from '../../../../axon/js/NumberProperty.js'; | ||
import TReadOnlyProperty from '../../../../axon/js/TReadOnlyProperty.js'; | ||
import Dimension2 from '../../../../dot/js/Dimension2.js'; | ||
import Utils from '../../../../dot/js/Utils.js'; | ||
|
@@ -18,12 +17,13 @@ import { Text } from '../../../../scenery/js/imports.js'; | |
import SunConstants from '../../../../sun/js/SunConstants.js'; | ||
import DensityBuoyancyCommonConstants from '../../common/DensityBuoyancyCommonConstants.js'; | ||
import densityBuoyancyCommon from '../../densityBuoyancyCommon.js'; | ||
import TRangedProperty from '../../../../axon/js/TRangedProperty.js'; | ||
|
||
export type ComparisonNumberControlOptions = NumberControlOptions; | ||
|
||
export default class ComparisonNumberControl extends NumberControl { | ||
public constructor( | ||
property: RangedProperty, | ||
property: TRangedProperty, | ||
titleStringProperty: TReadOnlyProperty<string>, | ||
valuePatternStringProperty: TReadOnlyProperty<string>, | ||
valueName: string, | ||
|