We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Zoom only with Ctrl + Scroll

Home Forums General Questions Zoom only with Ctrl + Scroll

Tagged: , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #77558
    jamjam
    Customer

    Hey,

    we have Verge embedded as iFrame. Hovering over the iFrame prevents scrolling the parent doc.
    Is is possible to keep scrolling the parent doc when using mouse wheel and only zoom in Verge with Ctrl + Scroll.

    If this is not possible, can we have scrolling parent and zooming by holding RMB?

    Thanks for your help!

    #77578

    Hi jamjam,

    By default, Ctrl + scroll zooms the entire page in the browser, while the RMB invokes the context menu. I think it would be better to implement UI buttons in your iframe so that the user can zoom the 3D view.

    Chief 3D Verger | LinkedIn | Twitter

    #77603
    jamjam
    Customer

    Hi Yuri,
    thanks for your reply!

    I prefer not to add any additional buttons.
    Is it possible to add the zoom with Ctrl+Scroll or RMB?

    When embedding google maps via iFrame it also resorts to Ctrl+Scroll.
    So I think it would just be consistent to also use it.
    https://developers.google.com/maps/documentation/embed/embedding-map

    #77663

    I see your point. It seems it requires modifying the engine code, but the changes are small. We’ll add this in the second preview of Verge3D 4.8.

    Chief 3D Verger | LinkedIn | Twitter

    #77669
    jamjam
    Customer

    That would be really great. Thanks Yuri!

    #78232

    Hi, feel free to try out this feature!

    Soft8Soft Tech Chief
    X | FB | LinkedIn

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.