d2phap / d2phap/ImageGlass

"Actual Size (0)" and "Scale to fit (5)" both alternate using a same keyboard key (spacebar)

Open
#1,136 1 comment 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

Can we please have the zoom options "Actual Size (0)" and "Scale to fit (5)" both alternate using a same keyboard key (spacebar) ?
I use "Actual Size (0)" and "Scale to fit (5)" keys a lot, and its much convenient to have a single key for both and spacebar is the most easily accessible key.

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 keyboard handling and the commands for “Actual Size (0)” and “Scale to fit (5)”, then check how existing shortcuts are registered. Done means pressing the spacebar alternates between those two zoom options without breaking their current keys.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.