Skip to content

editor-devtools: add Alt + Click as middle-click alternative - #3171

Merged
WorldLanguages merged 1 commit into
ScratchAddons:masterfrom
lisa-wolfgang:devtools-alt-click
Jul 31, 2021
Merged

editor-devtools: add Alt + Click as middle-click alternative#3171
WorldLanguages merged 1 commit into
ScratchAddons:masterfrom
lisa-wolfgang:devtools-alt-click

Conversation

@lisa-wolfgang

Copy link
Copy Markdown
Member

Resolves #2321 (specifically #2321 (comment))

Changes

Alt + Click is now capable of triggering the middle-click popup and the "jump to" feature.

The help modal has also been tweaked to accommodate this change. I don't know if I'm supposed to change the strings in Transifex or not, and I don't have access to Transifex anyway, so I just changed them in addons-l10n/en/editor-devtools.json for now.

Reason for changes

Currently, for users without a mouse or a touchpad where a triple-finger-tap simulates a middle-click, the "jump to" feature is unusable.
It's available for the middle-click popup as well for simplicity code-wise and consistency.
I would have just used Ctrl + Space, but it may have caused issues for existing Ctrl + Space users using the shortcut with their cursor inadvertently positioned over a block.

Tests

Tested in Chromium 92 and Firefox 90.
Middle-clicking and Ctrl + Space are unaffected by this change.

@cobaltt7

cobaltt7 commented Jul 30, 2021 via email

Copy link
Copy Markdown
Contributor

@Secret-chest

Secret-chest commented Jul 31, 2021

Copy link
Copy Markdown
Contributor

Tested in Chromium 92 and Firefox 90.

so you have pure chromium (apt install chromium)?
if yes, I suppose you have linux
chromium is very rare on windows

@lisa-wolfgang

Copy link
Copy Markdown
Member Author

so you have pure chromium (apt install chromium)?

No, a Chromium-based browser -- more specifically, Brave.

@WorldLanguages
WorldLanguages merged commit 2d9e837 into ScratchAddons:master Jul 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ctrl+Space developer tool does not work

4 participants