scratchfoundation / scratchfoundation/scratch-blocks
Touching color block doesn't retain correct color chosen.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 1.6k
- Avg merge
- 4h 51m
- Merged PRs (30d)
- 12
Description
Expected Behavior
When you choose a color for the block, it should remember that color
Actual Behavior
If you have a specific color in a sprite and then use the puzzle piece, it won't allow you to choose that color. It will offset it by 1 for some reason.
Steps to Reproduce
Import a SVG as a costume. Set a vector outline on that imported costume of color x. Then try to set the touching color block to color x.
Operating System and Browser
Windows 10, Chrome
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in Scratch Blocks using Windows 10 and Chrome with an imported SVG costume and a vector outline. Trace the touching color block's color selection and the imported costume's outline color handling; done means selecting the outline color retains the exact chosen color without an offset.
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
- 38/100