mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
fix: clear touch identifier on comment icon down (#8627)
This commit is contained in:
@@ -623,6 +623,7 @@ export class CommentView implements IRenderedElement {
|
||||
* event on the foldout icon.
|
||||
*/
|
||||
private onFoldoutDown(e: PointerEvent) {
|
||||
touch.clearTouchIdentifier();
|
||||
this.bringToFront();
|
||||
if (browserEvents.isRightButton(e)) {
|
||||
e.stopPropagation();
|
||||
@@ -738,6 +739,7 @@ export class CommentView implements IRenderedElement {
|
||||
* delete icon.
|
||||
*/
|
||||
private onDeleteDown(e: PointerEvent) {
|
||||
touch.clearTouchIdentifier();
|
||||
if (browserEvents.isRightButton(e)) {
|
||||
e.stopPropagation();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user