Skip to content

Commit

Permalink
chore: address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 authored and codebytere committed Sep 6, 2023
1 parent ee6a73e commit e017d68
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions shell/browser/ui/inspectable_web_contents.cc
Original file line number Diff line number Diff line change
Expand Up @@ -596,14 +596,10 @@ void InspectableWebContents::LoadCompleted() {
// position overlaps with the position of window controls to avoid
// broken layout.
if (win && win->IsWindowControlsOverlayEnabled()) {
if (IsAppRTL()) {
if (dock_state_ == "left") {
dock_state_ = "undocked";
}
} else {
if (dock_state_ == "right") {
dock_state_ = "undocked";
}
if (IsAppRTL() && dock_state_ == "left") {
dock_state_ = "undocked";
} else if (dock_state_ == "right") {
dock_state_ = "undocked";
}
}
}
Expand Down

0 comments on commit e017d68

Please sign in to comment.