• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

Problem with the boundary of the viewport and my tool

Scheduled Pinned Locked Moved Developers' Forum
4 Posts 4 Posters 272 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 1 Jun 2014, 18:32

    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
    • D Offline
      Dan Rathbun
      last edited by 2 Jun 2014, 01:09

      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
      • T Offline
        tt_su
        last edited by 2 Jun 2014, 13:55

        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
        • J Offline
          jolran
          last edited by 2 Jun 2014, 14:08

          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
          1 / 1
          • First post
            1/4
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement