altv-issues
altv-issues copied to clipboard
webview.setZoomLevel affects all webviews
Description of the problem
Currently if you use webview.setZoomLevel on any webview it will affect all webviews at the same time
Reproduction steps
- Create two webviews
- Call setZoomLevel on first one
- Second one changed zoom too
Expected behaviour
Only the target webview should be zoomed
Additional context
No response
Operating system
Windows 10
Version
release/12.10
Can not reproduce
Its reproducable
I also ran into this problem, that setting the zoomlevel to one instance of a webview also applies the zoom level to all other open and newly created webviews.
Will this be fixed in this or the next version? This currently stops my implementation.