Selaa lähdekoodia

Ensure temporary layout manager state is cleared at the end of a layout phase

Change-Id: I28f3d20e6db999a033429338535719f14e495d4f
tags/7.7.2
Artur Signell 7 vuotta sitten
vanhempi
commit
c665731b0b
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 7
    0
      client/src/main/java/com/vaadin/client/LayoutManager.java

+ 7
- 0
client/src/main/java/com/vaadin/client/LayoutManager.java Näytä tiedosto

@@ -600,6 +600,13 @@ public class LayoutManager {
Profiler.leave("layout PostLayoutListener");

cleanMeasuredSizes();
// Ensure temporary variables are cleaned
if (!pendingOverflowFixes.isEmpty()) {
getLogger().warning(
"pendingOverflowFixes is not empty at the end of doLayout: "
+ pendingOverflowFixes.dump());
pendingOverflowFixes = FastStringSet.create();
}

getLogger().info(
"Total layout phase time: " + totalDuration.elapsedMillis()

Loading…
Peruuta
Tallenna