Feature #1211: Prioritization mode for videodock. Correcting commit a17c076..8d52fc5

This commit is contained in:
Jonata Teixeira Pastro 2014-04-09 21:11:37 +00:00
parent 8d52fc5c9f
commit c6cc869b49

View File

@ -139,9 +139,9 @@ isVertSplit: true,
bestConf.numRows=oBestConf.numRows;
bestConf.aspectRatio=oBestConf.cellAspectRatio;
} else {
var pBestConf:Object = findBestConfiguration(width,height,1);
bestConf.priorityHeight = pBestConf.height;
bestConf.priorityWidth = pBestConf.width;
var auxBestConf:Object = findBestConfiguration(width,height,1);
bestConf.priorityHeight = auxBestConf.height;
bestConf.priorityWidth = auxBestConf.width;
}
return bestConf;
}
@ -192,8 +192,7 @@ isVertSplit: true,
override public function validateDisplayList():void {
super.validateDisplayList();
// updateDisplayListHelper();
updateDisplayListHelperByPriority2(0);
updateDisplayListHelperByPriority(0);
}
public function addAvatarFor(userId:String):void {