fungus icon indicating copy to clipboard operation
fungus copied to clipboard

Selection Box Gets Stuck If Mouse Pointer Leaving Flowchart Window While Selection is Still Happening

Open breadnone opened this issue 3 years ago • 2 comments

Describe the bug As the title says, and see the video below

https://user-images.githubusercontent.com/64100867/123263108-d12e2a00-d522-11eb-9c2d-73f0596b626f.mp4

To Reproduce Start dragging (selecting) until mouse pointer leaving flowchart window or entering inspector area.

Expected behavior Would auto scroll the flowchart window(like in any apps) OR at least prematurely deactivate the ongoing selection so it won't get stuck.

Versions & Platform (please complete the following information):

  • Unity version 2020 LTS

breadnone avatar Jun 24 '21 12:06 breadnone

I see what's going on here. Basically, when selecting, it doesn't do any checks to move the flowchart view and loses detection once the cursor leaves the flowchart window. It might be a simple fix so I'll look into it.

More than likely, a function similar to dragging the window will need to be written and ran if at the edge. The challenge will be that it has to continue to track once the cursor has left the window so here's hoping that can be tracked by mouse events.

Arylos07 avatar Jun 24 '21 21:06 Arylos07

@Arylos07 fyi, I just pushed a pr to fix this. Tho, autoscrolling while in the middle of selecting lots of command blocks would be great...

breadnone avatar Jun 25 '21 09:06 breadnone