fix: allow setsize to be called within a move or resize for preventDefault (#34843)
fix: #34599 allow setsize to be called within a move or resize for preventDefault
This commit is contained in:
parent
6d9e8b65bc
commit
9416091180
1 changed files with 0 additions and 1 deletions
|
@ -729,7 +729,6 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bounds, bool animate) {
|
||||||
#if BUILDFLAG(IS_WIN)
|
#if BUILDFLAG(IS_WIN)
|
||||||
if (is_moving_ || is_resizing_) {
|
if (is_moving_ || is_resizing_) {
|
||||||
pending_bounds_change_ = bounds;
|
pending_bounds_change_ = bounds;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue