logisim-evolution / logisim-evolution/logisim-evolution
Switch cannot be rotated more than 90 degs
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 7.6k
- Forks
- 1k
- Avg merge
- 17h 46m
- Merged PRs (30d)
- 68
Description
Switch cannot be rotated more than 90 degs, as subsequent rotations makes no difference due to logic in `paintInstance()`. That unfortunately means that you are currently unable to flip placement of input and output pins by rotating 180 degs from netiher horizontal, nor vertical orientation.
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 locating the switch implementation and its paintInstance() method. Reproduce rotations beyond 90 degrees, then trace how the rotation affects placement of input and output pins. Done means 180-degree rotation works from both horizontal and vertical orientations, with the behavior covered by the relevant tests if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100