Skip to content

Commit

Permalink
Added keyboard shortcut display in tooltips (#2638)
Browse files Browse the repository at this point in the history
Co-authored-by: Fons van der Plas <fonsvdplas@gmail.com>
  • Loading branch information
JuliaLoetfering and fonsp authored Sep 18, 2023
1 parent 62f7898 commit cc706f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/components/Cell.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export const Cell = ({
pluto_actions.add_remote_cell(cell_id, "before")
}}
class="add_cell before"
title="Add cell"
title="Add cell (Ctrl + Enter)"
>
<span></span>
</button>
Expand Down Expand Up @@ -359,7 +359,7 @@ export const Cell = ({
pluto_actions.add_remote_cell(cell_id, "after")
}}
class="add_cell after"
title="Add cell"
title="Add cell (Ctrl + Enter)"
>
<span></span>
</button>
Expand Down
4 changes: 2 additions & 2 deletions frontend/components/RunArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ export const RunArea = ({
}

const titlemap = {
interrupt: "Interrupt",
interrupt: "Interrupt (Ctrl + Q)",
save: "Save code without running",
jump: "This cell depends on a disabled cell",
run: "Run cell",
run: "Run cell (Shift + Enter)",
}

const on_double_click = (/** @type {MouseEvent} */ e) => {
Expand Down

0 comments on commit cc706f5

Please sign in to comment.