Skip to content

πŸŽ₯ Make videos programmatically with React

update shortcuts

Jonny Burger769dda410b2a
diff --git a/packages/docs/docs/studio/shortcuts.mdx b/packages/docs/docs/studio/shortcuts.mdx
index 02206b28cb..a6946e67b0 100644
--- a/packages/docs/docs/studio/shortcuts.mdx
+++ b/packages/docs/docs/studio/shortcuts.mdx
@@ -197,7 +197,7 @@ Pause and return to where playback started
<td>
<kbd>Esc</kbd>
</td>
- <td>Enter fullscreen</td>
+ <td>Exit fullscreen</td>
</tr>
</table>
@@ -254,9 +254,17 @@ Pause and return to where playback started
<td>
<kbd>⌘/Ctrl</kbd>
<div style={{width: 2, display: 'inline-block'}} />
- <kbd>S</kbd>
+ <kbd>Z</kbd>
+ </td>
+ <td>Undo</td>
+ </tr>
+ <tr>
+ <td>
+ <kbd>⌘/Ctrl</kbd>
+ <div style={{width: 2, display: 'inline-block'}} />
+ <kbd>Y</kbd>
</td>
- <td>Save props back to root file</td>
+ <td>Redo</td>
</tr>
</table>
diff --git a/packages/studio/src/components/KeyboardShortcutsExplainer.tsx b/packages/studio/src/components/KeyboardShortcutsExplainer.tsx
index 13ab6eae2e..c389fc2fb7 100644
--- a/packages/studio/src/components/KeyboardShortcutsExplainer.tsx
+++ b/packages/studio/src/components/KeyboardShortcutsExplainer.tsx
@@ -289,6 +289,23 @@ export const KeyboardShortcutsExplainer: React.FC = () => {
<div style={right}>Reset zoom</div>
</Row>{' '}
<br />
+ <div style={title}>Props Editor</div>
+ <Row align="center">
+ <div style={left}>
+ <kbd style={key}>{cmdOrCtrlCharacter}</kbd>
+ <Spacing x={0.3} />
+ <kbd style={key}>Z</kbd>
+ </div>
+ <div style={right}>Undo</div>
+ </Row>
+ <Row align="center">
+ <div style={left}>
+ <kbd style={key}>{cmdOrCtrlCharacter}</kbd>
+ <Spacing x={0.3} />
+ <kbd style={key}>Y</kbd>
+ </div>
+ <div style={right}>Redo</div>
+ </Row>
{process.env.ASK_AI_ENABLED && (
<>
<br />