CIDARLAB / 3DuF

Interactive microfluidic design editor
http://3duf.org
BSD 2-Clause "Simplified" License
72 stars 69 forks source link

Can't use move tool #139

Open jblugagne opened 5 years ago

jblugagne commented 5 years ago

When I select an element with the select tool, and click again, the "element menu" pops up. However when I click on the "move" icon, nothing happens. I tried long presses, dragging around etc...

rkrishnasanka commented 5 years ago

I've addressed this in commit 86a8ea646b6f45082f63185c77142ef950f43e69. This is live right now so let me know if this is working correctly.

jblugagne commented 5 years ago

Actually this isn't really fixed. Right now, if I start anew and start placing connections or channels, the move tool still does nothing when I click it.

However, if I start placing other objects, chambers or mixers for example, I can select them and use the move tool on those. And then, once I've done that, the move tool starts working on the connections and the channels as well.

It does not work if I place connections/channels, then chambers or whatever (without trying to move them) and then try directly to move the connections/channels. I have to try to move the chambers first, and then the move tool starts working on connections.

rkrishnasanka commented 5 years ago

So, the live version of it is working - to this extent.

oct-17-2018 13-38-52

I haven't yet implemented the move tool for the connections, I need to figure out how exactly I want to enable it for that.

jblugagne commented 5 years ago

Great! A small problem though: Once you start moving the element "live", the X and Y values in the pop-up menu jump from something like 20mm to tens of thousands. You can see that in the gif you just posted.

rkrishnasanka commented 5 years ago

Whoops, I forgot the unit conversion! I'll fix that