view.zoom changes based on display DPI
I noticed
app.activeViewer.views[0].options.zoom;gives a different result on my mac vs my PC.
On my mac when the view is at 100% zoom I get 0.5, while on my PC I get 1.
I assume it has something to do with display scaling, but I couldn't find any information about this online. The docs should emphasize this.
What's the best way to reliably get the correct value through extendscript?
Also, since I am creating a CEP panel, could I just multiply the value by
window.devicePixelRatioor do I need to take other factors into account?
Thank you.
