Skip to content

Commit 1f05fd8

Browse files
authored
Toggle back on screenshots button if frames feature is on (#222)
1 parent 6d20280 commit 1f05fd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front_end/panels/timeline/TimelinePanel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
11891189

11901190
// View
11911191
this.panelToolbar.appendSeparator();
1192-
if (!isNode && !isReactNative) {
1192+
if (!isNode && (Root.Runtime.experiments.isEnabled(Root.Runtime.RNExperimentName.ENABLE_TIMELINE_FRAMES) || !isReactNative)) {
11931193
this.showScreenshotsToolbarCheckbox =
11941194
this.createSettingCheckbox(this.showScreenshotsSetting, i18nString(UIStrings.captureScreenshots));
11951195
this.panelToolbar.appendToolbarItem(this.showScreenshotsToolbarCheckbox);

0 commit comments

Comments
 (0)