mirror of
https://github.com/servo/servo.git
synced 2025-06-20 23:28:59 +01:00
Don't send a resize event if the window size didn't change
This commit is contained in:
parent
677fce2546
commit
72f5e5f30d
2 changed files with 9 additions and 4 deletions
|
@ -440,7 +440,7 @@ impl ScriptContext {
|
|||
///
|
||||
/// This function fails if there is no root frame.
|
||||
fn reflow(&mut self, goal: ReflowGoal) {
|
||||
debug!("script: performing reflow");
|
||||
debug!("script: performing reflow for goal %?", goal);
|
||||
|
||||
// Now, join the layout so that they will see the latest changes we have made.
|
||||
self.join_layout();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue