Skip to content

Conversation

@mwilniewiec
Copy link
Contributor

@mwilniewiec mwilniewiec commented Mar 27, 2025

Fix for:
#226

Drawing of Polygon and LineString can now be finished using a normal double click.
I didn't fix "Polygon 90 degrees" behavior. I tried but I had some issues and probably its author or someone could take a look in a separate commit.

Before this change drawing was finished by "Enter" key or by "slow double click" which wasn't recognized as a normal "double click".
This was a regress to old nebula.gl and older deck.gl that I was using earlier and double click worked normally.

@rjwats
Copy link

rjwats commented Jul 8, 2025

I raised a duplicate by mistake, but thought it's was worth adding this as a question here so it doesn't get lost.

I see that the connected PR updates DrawLineStringMode and DrawPolygonMode modes. Are there other modes which need fixing, such as MeasureDistanceMode?

@colehart
Copy link

I'm having this issue as well, and hoping this fix can make it into the next minor / patch release.

@felixpalmer felixpalmer merged commit 326fd3c into visgl:master Nov 3, 2025
1 check passed
ibgreen added a commit that referenced this pull request Nov 4, 2025
* Add collapsed chain visibility tests and fix marker style typing

* Improve DAG chain collapsing controls

* Adjust collapsed chain markers

* Add logging for collapsed chain interactions

* Integrate DAG chain collapsing into graph viewer

* Fix DAG chain toggles and highlight collapsed markers

* Fix chain marker source resolution

* Draw chain outlines using bounding boxes

* Round chain outlines and color collapsed boxes red

* feat(graph-layers): Add zod graph stylesheet schema dependencies (#333)

* Enable Docusaurus v4 future flags (#338)

* feat(experimental): add pan and zoom widget (#341)

* Generate graph style JSON schema during build (#342)

* docs: align graph styling guides and examples with stylesheet API (#340)

* [editable-layers] Real double-click used to finish drawing (#225)

* fix(graph-layers): restore dag arrow decorator color property (#343)

* chore: CI run tests on commits in master (#344)

* docs: consolidate graph stylesheet reference (#345)

* wip

---------

Co-authored-by: mwilniewiec <[email protected]>
Co-authored-by: felixpalmer <[email protected]>
@charlieforward9 charlieforward9 linked an issue Nov 7, 2025 that may be closed by this pull request
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Normal (quick) double click should finish drawing

4 participants