Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard zoom #293

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@
"message": "How to use?",
"description": "The common button for tips, where you can get more information about how to use a feature just presented."
},
"zoomQrCodeHotkey": {
"message": "Use Alt and +/- to zoom the QR code!",
"description": "Tooltip for the unconventional zoom key combination."
},

// placeholder
"qrCodePlaceholder": {
Expand Down
12 changes: 12 additions & 0 deletions src/common/modules/data/Tips.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,18 @@ const tipArray = [
action: "tipSaveQrCodeLink"
}
},
{
id: "zoomQrHotkey",
requiredShowCount: 5,
requireDismiss: 1,
maximumDismiss: 2,
requiredTriggers: 5,
showInContext: {
"popup": 1
},
randomizeDisplay: false,
text: "tipZoomQrCodeHotkey"
},
// {
// id: "donate",
// requiredShowCount: 4,
Expand Down
Loading