Skip to content

Conversation

@ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Mar 22, 2023

☑️ Resolves

🚧 Tasks

By default an Electron application has "CommandOrControl + Plus" hotkey for zooming in. It is not very intuitive, that without SHIFT pressing "CommandOrControl + Plus" actually works as "CommandOrControl + =".

  • Add additional invisible zoomIn menu item with "CommandOrControl + =" hotkey

Adding invisible menu item to add hotkey alias may look wierd. But it seems to be a common practice to solve this problem in Electron applicatoin in a simple and reliable way.

Also, it was possible to change the hotkey in the existed menu item, but it would change displayed hotkey. This solution keeps displaying original hotkey in menu while both hotkeys works exactly the same.

image

@ShGKme ShGKme added the bug Something isn't working label Mar 22, 2023
@ShGKme ShGKme requested a review from nickvergessen March 22, 2023 23:35
@nickvergessen
Copy link
Member

Ctrl + Scroll is also addable in this way? Then we would be state-of-the-art again with all other programs

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving as it's already making it much more discoverable

@nickvergessen nickvergessen added this to the 💙 Next Preview milestone Mar 24, 2023
Signed-off-by: Grigorii Shartsev <[email protected]>
@ShGKme ShGKme requested a review from nickvergessen March 24, 2023 13:53
@ShGKme
Copy link
Contributor Author

ShGKme commented Mar 24, 2023

Ctrl + Scroll is also addable in this way?

Not in this way, but it is easily addable. Fixed.

@nickvergessen nickvergessen merged commit 525a853 into main Mar 24, 2023
@delete-merged-branch delete-merged-branch bot deleted the fix/74/zoom-in-without-shift branch March 24, 2023 13:57
ShGKme added a commit that referenced this pull request Mar 24, 2023
Fixes:
- Fix zoom without SHIFT and by mouse wheel (#77)
- Fix wrong display name in calls and temp messages (#72)
- Fix loosing authentication on notify_push on any ws error caused brute force protection (#76)

Signed-off-by: Grigorii Shartsev <[email protected]>
@ShGKme ShGKme mentioned this pull request Mar 24, 2023
@nickvergessen nickvergessen modified the milestones: v0.3.0, v0.2.2 Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants