planetfederal / wps-gui

Graphical User Interface (Model Builder) for OGC:WPS (Web Processing Services)
http://boundlessgeo.com
Apache License 2.0
27 stars 15 forks source link

deselection of a node only occurs after the second click #148

Closed bartvde closed 10 years ago

bartvde commented 10 years ago

so select a process input

click somewhere empty in the canvas, node stays selected click again, node gets unselected

bartvde commented 10 years ago

seems to be caused in canvasMouseUp, mouseMode is 5 and selection does not get cleared

if (/*me.mouseMode === 0 &&*/ me.mousedownLink === null) {
bartvde commented 10 years ago

ah mouseMode is 5 since the editor is shown, this is different from node-red where they resetted the mouseMode after the modal editor was closed

bartvde commented 10 years ago

but this should also clear the editor of course