From e9c8dfa274bd61f9b9004a7f306c8fa72017b78f Mon Sep 17 00:00:00 2001 From: YarikMix <43493788+YarikMix@users.noreply.github.com> Date: Fri, 31 May 2024 20:28:14 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20=D0=BE?= =?UTF-8?q?=D1=82=D0=BA=D1=80=D1=8B=D1=82=D0=B8=D0=B5=20=D0=BD=D0=B0=20?= =?UTF-8?q?=D1=82=D0=B5=D0=BB=D0=B5=D1=84=D0=BE=D0=BD=D0=B5=20=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D1=8E=20=D1=82=D1=8D=D0=B3=D0=B0=20=D0=BF=D1=80=D0=B8=20?= =?UTF-8?q?=D0=B7=D0=B0=D0=B6=D0=B0=D1=82=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/src/components/NoteEditor/NoteEditor.tsx | 2 +- public/src/components/TagsFilter/TagsFilter.tsx | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/public/src/components/NoteEditor/NoteEditor.tsx b/public/src/components/NoteEditor/NoteEditor.tsx index 277e476..b180366 100644 --- a/public/src/components/NoteEditor/NoteEditor.tsx +++ b/public/src/components/NoteEditor/NoteEditor.tsx @@ -239,7 +239,7 @@ export class NoteEditor extends ScReact.Component { - console.log('click') - console.log(this.state.menuOpen) + console.log("click") + console.log(this.longpress) if (this.presstimer !== null) { clearTimeout(this.presstimer); @@ -177,8 +177,7 @@ export class TagsFilter extends ScReact.Component { - console.log(e); - + console.log("start") if (e.type === "click" && e.button !== 0) { return; } @@ -191,11 +190,10 @@ export class TagsFilter extends ScReact.Component { - console.log("cancel") + cancel = () => { if (this.presstimer !== null) { clearTimeout(this.presstimer); this.presstimer = null; @@ -246,7 +244,7 @@ export class TagsFilter extends ScReact.Component + > {tag} ))}