openframeworks / openframeworks/openFrameworks
Fix : background gradient should use viewport size
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
should use ofGetViewportWidth/Height not ofGetWidth/Height
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
Open libs/openFrameworks/graphics/ofGraphics.cpp at line 395 and compare the gradient's dimensions with the viewport accessors named in the issue. Done means the background gradient uses viewport width and height rather than the general window dimensions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100