pushStyle / popStyle flubs strokeWeight
Open
bug
pjs
- Dominant language
- JavaScript
- Stars
- 776
- Forks
- 180
- PR merge metrics
- No merged PRs in 30d
Description
Refer to a simple test program at https://www.khanacademy.org/computer-programming/pstyle-strokeweight-flub/5720947179520000
When pushStyle and popStyle are invoked from Processing.js "Special Functions" like draw, they mishandle the strokeWeight value.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the behavior with the linked Khan Academy test program, then trace how Processing.js Special Functions handle pushStyle and popStyle in the live-editor code. Confirm the expected strokeWeight before and after the calls, and verify that the value is restored correctly when the reproduction is rerun.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100