fire-eggs / fire-eggs/Danbooru2021

Note hit-test rectangles not sized to current image zoom

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
42
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The Note "visual rectangles" are drawn on the image before the image is resized.

But the Note "mouse hit test" rectangles are currently sized assuming the image is at 100% size. The "hit test" rectangles need to be sized correctly for current image zoom.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the code that draws Note visual rectangles and performs mouse hit testing, then reproduce the behavior at a non-100% image zoom. Compare both rectangle calculations and verify that clicking notes selects the correct region at multiple zoom levels.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
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.