Skip to content

Add a split tool for touch editing#12604

Open
koharachan wants to merge 1 commit into
openstreetmap:developfrom
koharachan:codex/upstream-split-tool
Open

Add a split tool for touch editing#12604
koharachan wants to merge 1 commit into
openstreetmap:developfrom
koharachan:codex/upstream-split-tool

Conversation

@koharachan

Copy link
Copy Markdown

Summary

  • add a dedicated split tool to the top toolbar for touch and pen editing
  • show it only while split is available in select mode on touch/mobile contexts
  • keep touch feedback stable even if the operation mutates selection state while running

Testing

  • npm run test:once -- test/spec/ui/tools/split.js
  • npx eslint modules/ui/tools/split.js modules/ui/top_toolbar.js modules/ui/tools/index.ts test/spec/ui/tools/split.js
  • git diff --check

@matkoniecz

Copy link
Copy Markdown
Contributor

add a dedicated split tool to the top toolbar for touch and pen editing

please post screenshot of this in action

@koharachan

Copy link
Copy Markdown
Author
图片 图片 图片

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.

2 participants