d2phap / d2phap/ImageGlass

Scale to match window width/height Picture behavior change

Open
#886 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🎯 feature
Dominant language
C#
Stars
14.4k
Forks
752
Avg merge
10d 14h
Merged PRs (30d)
1

Description

When I view some horizontal long pictures, vertical long pictures (comic, design draft),use the zoom to match window height/width function,the pictures are always enlarged in the middle,I have to move the mouse to the left end of the horizontal long image and the top of the vertical long image,then swipe through the details.This is a bit against operating habits.I hope that when I use this function, the image will automatically move to the left and top and match the height and width.

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

The issue mentions no files, tests, or entry points. Start by locating the image-viewer code that handles the “match window width/height” zoom action and inspect how the viewport is positioned afterward. Done means wide images begin at the left edge and tall images at the top while preserving the requested fit behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.