fixing another unreported error that made a viewers slide viewport's width distorted

This commit is contained in:
Chad Pilkey 2012-12-14 12:03:23 -05:00
parent 0b076b4f13
commit bfb6126395

View File

@ -289,7 +289,7 @@ package org.bigbluebutton.modules.present.ui.views.models
viewportH = (vrhp/vrwp)*parentW;
if (parentH < viewportH) {
viewportH = parentH;
viewportW = ((vrwp * viewportH)/viewportH);
viewportW = ((vrwp * viewportH)/vrhp);
// LogUtil.debug("calc viewport ***** resizing [" + viewportW + "," + viewportH + "] [" + parentW + "," + parentH + "," + fitToPage + "] [" + pageOrigW + "," + pageOrigH + "]");
}
} else {