phetsims/quadrilateral

Incorrect Context Response when maintaining a Triangle

Opened this issue · 0 comments

This is not super high priority, but I just noticed that in one case, I am hearing the incorrect shape maintenance response when maintaining a triangle.

The design doc has 2 responses:

  • One for moving the center (180-degree corner) in between the other two corners:
    • {{CornerName}} {{flat}} as adjacent sides change in length.
  • A second for when moving one of the non-180-degree corners:
    • Adjacent sides {{sideLetter}} and {{sideLetter}} in line as shape gets {{bigger/smaller}}.

I hear the correct response for case one, but for case two I only hear the correct response when the triangle is getting bigger. In case two when the triangle gets smaller, I hear the case one response.

There may be an implementation limitation for this. If so, I need to make note of it in the design doc. If not, it would be nice to fix this on the next maintenance release.

To reproduce, make the following triangle and play with corners D, A, and B with a mouse or keyboard.
Screenshot 2023-11-21 at 11 27 34