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 (#35082)

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 authored Aug 3, 2022
1 parent 56a0b45 commit b990bd6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion shell/browser/native_window_views.cc
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,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 b990bd6

Please sign in to comment.