fix: allow setsize to be called within a move or resize for preventDefault (#35084)

fix: #34599 allow setsize to be called within a move or resize for preventDefault

Co-authored-by: Ian German Mesner <mesner@gmail.com>
This commit is contained in:
trop[bot]
2022-07-27 11:14:21 +02:00
committed by GitHub
parent c10922f15f
commit 7b1872dafe

View File

@@ -729,7 +729,6 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bounds, bool animate) {
#if BUILDFLAG(IS_WIN)
if (is_moving_ || is_resizing_) {
pending_bounds_change_ = bounds;
return;
}
#endif