Skip to content

Commit 81aee6e

Browse files
committed
chore: remove obvious comments
1 parent 48ecd40 commit 81aee6e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cli/src/native/actions.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3621,7 +3621,6 @@ async fn handle_viewport(cmd: &Value, state: &mut DaemonState) -> Result<Value,
36213621

36223622
mgr.set_viewport(width, height, scale, mobile).await?;
36233623

3624-
// Remember viewport for re-application to new contexts (e.g., recording)
36253624
state.viewport = Some((width, height, scale, mobile));
36263625

36273626
// Update stream server viewport so status messages and screencast use the new dimensions
@@ -3994,8 +3993,6 @@ async fn handle_recording_start(cmd: &Value, state: &mut DaemonState) -> Result<
39943993
target_type: "page".to_string(),
39953994
});
39963995

3997-
// Re-apply viewport to the recording context so it inherits the
3998-
// user's custom resolution instead of falling back to the default.
39993996
if let Some((w, h, scale, mobile)) = viewport {
40003997
let _ = mgr.set_viewport(w, h, scale, mobile).await;
40013998
}

0 commit comments

Comments
 (0)