document what scaleEl is
parent
3aaba3154b
commit
4dcab65d51
|
@ -697,6 +697,7 @@ function endOfResize(e) {
|
||||||
* Uses the #content element
|
* Uses the #content element
|
||||||
* figures out where bottomEl is in the viewport
|
* figures out where bottomEl is in the viewport
|
||||||
* does calculations
|
* does calculations
|
||||||
|
* scaleEl is the thing to be scaled, should be a jquery object and should have height
|
||||||
* */
|
* */
|
||||||
function scaleToFit(baseWidth, baseHeight, scaleEl, bottomEl, container, panZoomScale = 1) {
|
function scaleToFit(baseWidth, baseHeight, scaleEl, bottomEl, container, panZoomScale = 1) {
|
||||||
$j(window).on('resize', endOfResize); //set delayed scaling when Scale to Fit is selected
|
$j(window).on('resize', endOfResize); //set delayed scaling when Scale to Fit is selected
|
||||||
|
|
Loading…
Reference in New Issue