Skip to content

Commit

Permalink
Fixed incorrect shading when shuffling listeners
Browse files Browse the repository at this point in the history
See #42
  • Loading branch information
Saurabh Totey authored and Saurabh Totey committed Jul 18, 2021
1 parent be7bcc6 commit 1adccbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/common/view/DistanceShadedNumberLineNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ class DistanceShadedNumberLineNode extends SpatializedNumberLineNode {
model.distanceRepresentationProperty,
model.isPrimaryControllerSwappedProperty,
model.numberLine.orientationProperty,
model.pointValuesProperty
model.pointValuesProperty,
model.numberLine.centerPositionProperty // is only necessary for when listeners are shuffled
],
( distanceLabelsVisible, displayedRange, distanceRepresentation, isPrimaryNodeSwapped, orientation, pointValues ) => {

Expand Down

0 comments on commit 1adccbb

Please sign in to comment.