* reduce screen flash

This commit is contained in:
Heng Sin Low 2008-07-16 03:29:46 +00:00
parent 72e8d9e227
commit 237f17865b
1 changed files with 0 additions and 2 deletions

View File

@ -1,13 +1,11 @@
function ad_deferRenderBorderLayout(uuid, timeout) { function ad_deferRenderBorderLayout(uuid, timeout) {
var meta = zkau.getMeta($e(uuid)); var meta = zkau.getMeta($e(uuid));
if (meta) { if (meta) {
zk.setVisible(zkau.getMeta($e(uuid)).el, false, false);
setTimeout("_ad_deferBDL('"+uuid+"')", timeout); setTimeout("_ad_deferBDL('"+uuid+"')", timeout);
} }
} }
function _ad_deferBDL(uuid) { function _ad_deferBDL(uuid) {
zk.setVisible(zkau.getMeta($e(uuid)).el, true, false);
zk.beforeSizeAt(); zk.beforeSizeAt();
zk.onSizeAt(); zk.onSizeAt();
zkau.getMeta($e(uuid)).render(); zkau.getMeta($e(uuid)).render();