fix: incorrect WCO tooltip in RTL (#45425)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
cc6164fe27
commit
07bdef0370
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ std::unique_ptr<WinCaptionButton> CreateCaptionButton(
|
|||
}
|
||||
|
||||
bool HitTestCaptionButton(WinCaptionButton* button, const gfx::Point& point) {
|
||||
return button && button->GetVisible() && button->bounds().Contains(point);
|
||||
return button && button->GetVisible() &&
|
||||
button->GetMirroredBounds().Contains(point);
|
||||
}
|
||||
|
||||
} // anonymous namespace
|
||||
|
|
Loading…
Add table
Reference in a new issue