Skip to content

Commit d48b45f

Browse files
committed
Enable "Capture screenshot" command in command palette (react#243)
Remove the `canDock` condition gate from the `emulation.capture-screenshot` action, allowing it to appear in the RN DevTools command palette. The other screenshot variants (full-size, node) remain gated behind `canDock`.
1 parent 571dc30 commit d48b45f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

front_end/panels/emulation/emulation-meta.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ UI.ActionRegistration.registerActionExtension({
103103
const Emulation = await loadEmulationModule();
104104
return new Emulation.DeviceModeWrapper.ActionDelegate();
105105
},
106-
condition: Root.Runtime.conditions.canDock,
107106
title: i18nLazyString(UIStrings.captureScreenshot),
108107
});
109108

0 commit comments

Comments
 (0)