Commit 4b6fc71
authored
Lower the intensity of the protractor handle hover animation (#1426)
## Summary:
During a playtest, Nicole noted that the rotation handle for the new
interactive graph protractor had a hover animation that felt out of
place. The animation was faster than the hover animation for movable
points. The protractor handle also enlarged more than the points do when
you hovered over it.
This commit brings the protractor handle animation in line with the
movable point animations.
Issue: none
Test plan:
Copy this data into the interactive graph flipbook:
```json
{"content":"**Construct a $130^\\circ$ angle.**\n\n[[☃ interactive-graph 1]]\n\n\n","images":{"https://ka-perseus-images.s3.amazonaws.com/02564832cdaa56aa507437df41dd13e1fefbe595.png":{"height":160,"width":398},"https://ka-perseus-images.s3.amazonaws.com/37521922ea42bbbf67622075e1ea51e095f37479.png":{"height":291,"width":401}},"widgets":{"interactive-graph 1":{"alignment":"default","graded":true,"options":{"backgroundImage":{"bottom":0,"left":0,"scale":1,"url":null},"correct":{"coords":[[6.662476544422285,-1.0599696426100849],[0,-9],[-7.530523827277034,-8.999999999999998]],"match":"congruent","showAngles":false,"snapDegrees":5,"type":"angle"},"graph":{"showAngles":false,"snapDegrees":5,"type":"angle"},"labels":["x","y"],"markings":"none","range":[[-10,10],[-10,10]],"rulerLabel":"","rulerTicks":10,"showProtractor":true,"showRuler":false,"step":[1,1]},"static":false,"type":"interactive-graph","version":{"major":0,"minor":0}}}}
```
The protractor handle animation should feel unobtrusive.
Author: benchristel
Reviewers: jeremywiebe, nicolecomputer
Required Reviewers:
Approved By: jeremywiebe
Checks: ✅ Upload Coverage (ubuntu-latest, 20.x), ✅ Publish npm snapshot (ubuntu-latest, 20.x), ✅ Jest Coverage (ubuntu-latest, 20.x), ✅ Check builds for changes in size (ubuntu-latest, 20.x), ✅ Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x), ✅ Cypress (ubuntu-latest, 20.x), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 20.x), ✅ Publish Storybook to Chromatic (ubuntu-latest, 20.x), ✅ gerald
Pull Request URL: #14261 parent 9a3bce3 commit 4b6fc71
File tree
2 files changed
+7
-2
lines changed- .changeset
- packages/perseus/src/widgets/interactive-graphs
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments