logisim-evolution / logisim-evolution/logisim-evolution

Switch cannot be rotated more than 90 degs

Open
#659 5 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.