sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Problem with the boundary of the viewport and my tool

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 4 Posters 295 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      dacastror
      last edited by

      Hello, I am developing a tool and I find undesired behavior, when I select my tool, I hold down the left mouse button and I approach a limit of viewport, the position of the view changes (click the image to see the gif)
      tool_error.gif

      I would like to control this behavior, does anyone have any idea how?
      I have thought that maybe I can use onMouseLeave but I suspect it would not work
      thank you very much in advance for the help
      (google translator)

      1 Reply Last reply Reply Quote 0
      • Dan RathbunD Offline
        Dan Rathbun
        last edited by

        I never noticed this before.

        Many of the native tools also have this behavior.

        I'm not here much anymore.

        1 Reply Last reply Reply Quote 0
        • tt_suT Offline
          tt_su
          last edited by

          hm...

          I'm not sure here - can you post a small snippet to reproduce?
          Maybe returning true/false to the mouse events might let you control this?

          1 Reply Last reply Reply Quote 0
          • jolranJ Offline
            jolran
            last edited by

            Same here on SU8. On both sides of the window.
            If I hold down the mousebutton near border of window(at the right side where there's no tools)and do a mousemove/nudge it starts panning right sometimes.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement