You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes displays/projectors/whatnot used to give presentations are in very different sizes scaling images and content could be useful.
Example code from some projects I have used.
// when resizingvardenominator=Math.max(body.clientWidth/window.innerWidth,body.clientHeight/window.innerHeight);vartransform='scale('+(1/denominator)+')';// scale body individual slides scale at the same time// if background is not supposed to scale set it to htmlbody.style.WebkitTransform=transform;body.style.MozTransform=transform;body.style.msTransform=transform;body.style.OTransform=transform;body.style.transform=transform;
The text was updated successfully, but these errors were encountered:
Yeah, that's a thought I already have. Give up the font scaling code and just use transforms.
One potential issue with that is that the aspect ratio is always the same. But I guess that’s not very important. Hmm. I need to think about it a bit more.
Sometimes displays/projectors/whatnot used to give presentations are in very different sizes scaling images and content could be useful.
Example code from some projects I have used.
The text was updated successfully, but these errors were encountered: