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 (electron#34843)

fix: electron#34599 allow setsize to be called within a move or resize for preventDefault
  • Loading branch information
mesner authored and schetle committed Aug 18, 2022
1 parent 171b2f7 commit 1bfee36
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 1bfee36

Please sign in to comment.