Skip to content

Commit

Permalink
fix: allow setsize to be called within a move or resize for preventDe…
Browse files Browse the repository at this point in the history
…fault (#35083)

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

Co-authored-by: Ian German Mesner <mesner@gmail.com>
  • Loading branch information
trop[bot] and mesner committed Jul 27, 2022
1 parent ea21d94 commit 729b0f5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion shell/browser/native_window_views.cc
Expand Up @@ -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

Expand Down

0 comments on commit 729b0f5

Please sign in to comment.