fix: incorrect WCO tooltip in RTL (#45405)
This commit is contained in:
parent
7a1d410e0a
commit
e7fa5c709c
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) {
|
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
|
} // anonymous namespace
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue