]> source.dussan.org Git - vaadin-framework.git/commit
Use the add() path of CssLayout only when appending to the end (#11284)
authorHenri Sara <hesara@vaadin.com>
Wed, 28 Aug 2013 09:34:53 +0000 (12:34 +0300)
committerVaadin Code Review <review@vaadin.com>
Wed, 28 Aug 2013 09:36:54 +0000 (09:36 +0000)
commit6dc46c5cfc66defaa7ed2350f20bf2224b419d82
tree3fdd76e4febd8b4c652445fe924fa46ecea611a6
parent232eb4238d89fe5d310c343c23ed2424d5ef9822
Use the add() path of CssLayout only when appending to the end (#11284)

This should get the benefits of the previous optimization on initial
rendering without negatively affecting the performance when modifying a
layout with complex non-leaf children.

Change-Id: Id6fcf3e54469454c6a998a50037c8a93bfb46cf6
client/src/com/vaadin/client/ui/VCssLayout.java
client/src/com/vaadin/client/ui/csslayout/CssLayoutConnector.java