Logic Machine Forum
Zoom the visualization - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Zoom the visualization (/showthread.php?tid=3340)



Zoom the visualization - Mirco - 04.05.2021

Hi, I noticed that if I zoom with an iphone/ipad the zoom work perfecly, but when I do the same on my android or windows it doesn't work, it alway rescale it.
Do you know how to solve this problem?


RE: Zoom the visualization - admin - 08.05.2021

Visualization was not designed to support zooming. It can only be auto-scaled to fit the whole screen.


RE: Zoom the visualization - toujour - 29.10.2021

This is a limit....Do you have a solution for this ? In future ?


RE: Zoom the visualization - admin - 01.11.2021

Try this, but it is not guaranteed to work correctly Smile

Add to Custom JavaScript:
Code:
$(function(){
  var content = 'width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes';
  $('meta[name=viewport]').attr('content', content);
});

Add to Custom CSS (might need some more selectors here to prevent scrolling when using sliders etc):
Code:
.popover,
.item-control,
.item-control-single {
  touch-action: none;
}