Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

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 khalwa committed Feb 22, 2023
1 parent d59f169 commit a0a71a3
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 a0a71a3

Please sign in to comment.