Skip to content
Merged
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
6 changes: 3 additions & 3 deletions addons-l10n/en/editor-devtools.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"editor-devtools/help-title": "Scratch 3 Developer Tools",
"editor-devtools/help-by": "by {url} and Scratch Addons contributors & translators",
"editor-devtools/ctrl-space": "Ctrl + Space or Middle Click",
"editor-devtools/ctrl-space": "Ctrl + Space, Middle Click, or Alt + Click",
"editor-devtools/ctrl-space-desc": "Pops up a floating input box where you can type the name of a block (or parts of it) and drag the block into the code to make use of it right there.",
"editor-devtools/code-tab-features": "Code Tab Features",
"editor-devtools/interactive-find-bar": "Interactive Find Bar (Ctrl + F)",
Expand All @@ -17,8 +17,8 @@
"editor-devtools/paste-from-clipboard-desc": "Pastes from the clipboard, but importantly pastes it where your mouse cursor is so you can then place it (rather than placing it where you copied it from like the current scratch implementation).",
"editor-devtools/swap-variable": "Swap Variable in Sprite",
"editor-devtools/swap-variable-desc": "Right click a variable in your scripts for this new option. It allows you to switch all references to this variable in the current sprite all in one go to another variable. This is great for when you made a mistake and want to switch from one variable to another or need to change from a 'for all sprites' to a 'for this sprite only'. This option will not remove the old variable and will not affect any other sprites variables.",
"editor-devtools/middleclick": "Middle Click",
"editor-devtools/middleclick-desc": "Using the middle mouse button on a variable or custom block allows you to jump to its definition or open it in the interactive find bar.",
"editor-devtools/middleclick": "Jump To",
"editor-devtools/middleclick-desc": "Using the middle mouse button or Alt + Click on a variable or custom block allows you to jump to its definition or open it in the interactive find bar.",
"editor-devtools/ctrl-lr": "Ctrl + Left, Ctrl + Right",
"editor-devtools/ctrl-lr-desc": "Navigate to previous / next visited position in the code area (after using the navigate to block or find bar). This allows you to middle click a custom block to go to its definition, then press ctrl + Left to go back to where you were before.",
"editor-devtools/costume-tab-features": "Costumes Tab Features",
Expand Down
2 changes: 1 addition & 1 deletion addons/editor-devtools/DevTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -1400,7 +1400,7 @@ export default class DevTools {
this.hideFloatDropDown();
}

if (e.button === 1) {
if (e.button === 1 || e.altKey) {
// Wheel button...
try {
this.middleClick(e);
Expand Down