[M108 Migration] Toggle screencast off in Web inspector by default 80/287480/2
authorv-saha <v.saha@samsung.com>
Mon, 30 Jan 2023 11:55:51 +0000 (17:25 +0530)
committerBot Blink <blinkbot@samsung.com>
Mon, 30 Jan 2023 12:55:26 +0000 (12:55 +0000)
When web inspector is launched & screencast is enabled
by default, it occupies a large amount of space & is tangential
to the earlier layouts we show to the user

Reference: https://review.tizen.org/gerrit/278284

Change-Id: Iae31c76d277ca1015ba335ce57c79cf9d86b20fc
Signed-off-by: v-saha <v.saha@samsung.com>
third_party/devtools-frontend/src/front_end/panels/screencast/ScreencastApp.ts

index 0c7eba2..6ef70c4 100644 (file)
@@ -27,7 +27,7 @@ export class ScreencastApp implements Common.App.App,
   private screenCaptureModel?: SDK.ScreenCaptureModel.ScreenCaptureModel;
   private screencastView?: ScreencastView;
   constructor() {
-    this.enabledSetting = Common.Settings.Settings.instance().createSetting('screencastEnabled', true);
+    this.enabledSetting = Common.Settings.Settings.instance().createSetting('screencastEnabled', false);
     this.toggleButton = new UI.Toolbar.ToolbarToggle(i18nString(UIStrings.toggleScreencast), 'largeicon-phone');
     this.toggleButton.setToggled(this.enabledSetting.get());
     this.toggleButton.setEnabled(false);