Skip to content

Commit 70dd88f

Browse files
committed
Prettier
1 parent ad49ad9 commit 70dd88f

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

locale/fr.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,8 @@ export default {
12311231

12321232
// Keyboard shortcuts panel — labels
12331233
shortcut_show_hide_help: "Afficher/masquer les raccourcis clavier",
1234-
shortcut_move_between_areas: "Se déplacer entre les menus, le canvas et l'éditeur",
1234+
shortcut_move_between_areas:
1235+
"Se déplacer entre les menus, le canvas et l'éditeur",
12351236
shortcut_confirm: "Confirmer",
12361237
shortcut_exit: "Quitter",
12371238
shortcut_play: "Lancer",

main/main.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -596,10 +596,8 @@ function initializeApp() {
596596
zoomInBtn.addEventListener("click", () => workspace.zoomCenter(1));
597597
if (zoomOutBtn)
598598
zoomOutBtn.addEventListener("click", () => workspace.zoomCenter(-1));
599-
if (undoBtn)
600-
undoBtn.addEventListener("click", () => workspace.undo(false));
601-
if (redoBtn)
602-
redoBtn.addEventListener("click", () => workspace.undo(true));
599+
if (undoBtn) undoBtn.addEventListener("click", () => workspace.undo(false));
600+
if (redoBtn) redoBtn.addEventListener("click", () => workspace.undo(true));
603601

604602
// Make open button work with keyboard
605603
if (openButton) {
@@ -650,7 +648,8 @@ function initializeApp() {
650648
e.preventDefault();
651649
const toolbox = workspace.getToolbox?.();
652650
if (!toolbox) return;
653-
const toolboxDiv = toolbox.HtmlDiv || document.querySelector(".blocklyToolboxDiv");
651+
const toolboxDiv =
652+
toolbox.HtmlDiv || document.querySelector(".blocklyToolboxDiv");
654653
toolboxDiv?.focus();
655654
Blockly.getFocusManager()?.focusTree?.(toolbox);
656655
});

0 commit comments

Comments
 (0)