- handle resize of fit-to-width properly
This commit is contained in:
parent
801ea6f2a7
commit
90a9b10281
@ -127,8 +127,10 @@ package org.bigbluebutton.modules.present.ui.views.models
|
||||
} else {
|
||||
calculateViewportSize();
|
||||
calculateViewportXY();
|
||||
_calcPageW = SlideCalcUtil.calcCalcPageSizeWidth(fitToPage, viewportW, _viewedRegionW);
|
||||
_calcPageH = SlideCalcUtil.calcCalcPageSizeHeight(!isPortraitDoc(), viewportH, _viewedRegionH, _calcPageW, _calcPageH, _pageOrigW, _pageOrigH);
|
||||
_calcPageW = (viewportW/_viewedRegionW) * 100;
|
||||
_calcPageH = (_pageOrigH/_pageOrigW) * _calcPageW;
|
||||
// _calcPageW = SlideCalcUtil.calcCalcPageSizeWidth(fitToPage, viewportW, _viewedRegionW);
|
||||
// _calcPageH = SlideCalcUtil.calcCalcPageSizeHeight(!isPortraitDoc(), viewportH, _viewedRegionH, _calcPageW, _calcPageH, _pageOrigW, _pageOrigH);
|
||||
calcViewedRegion();
|
||||
onResizeMove();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user