-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: double click event handling #232
Conversation
DOM `pointerdown` and `pointerup` do not contain number of click in `detail` like `click` events. So I tweak `GenericEditorArea.eventHappened` to call `handleDoubleClick` on `GenericMouseEvent.MOUSE_CLICKED` Closes: #225
@targos Do you confirm I must PR https://github.com/Actelion/openchemlib for java changes ? |
Yes |
It's needed for https://github.com/cheminfo/openchemlib-js project DOM `pointerdown` and `pointerup` do not contain number of click in `detail` like `click` events. So I tweak `GenericEditorArea.eventHappened` to call `handleDoubleClick` on `GenericMouseEvent.MOUSE_CLICKED` Refs: cheminfo/openchemlib-js#232
Done |
Update of OCL in #233 fixed the issue according to my tests on the cloudflare preview. |
Deploying openchemlib-js with Cloudflare Pages
|
Ok, I updated openchemlib submodule (and update the copy). Seems works as expected. |
But I already updated the submodule and the copy in #233 |
Yes, So I just merged and added comment (so we don't think it's missing). This PR remove |
DOM
pointerdown
andpointerup
do not contain number of click indetail
likeclick
events.So I tweak
GenericEditorArea.eventHappened
to callhandleDoubleClick
onGenericMouseEvent.MOUSE_CLICKED
Closes: #225