feat (backend-events): dead-click only on Labeled
This commit is contained in:
parent
65a6d470bd
commit
b7ac0da761
1 changed files with 3 additions and 0 deletions
|
|
@ -43,6 +43,9 @@ func (d *deadClickDetector) HandleMessage(msg Message, messageID uint64, timesta
|
|||
case *CreateDocument:
|
||||
d.inputIDSet = nil
|
||||
case *MouseClick:
|
||||
if m.Label == "" {
|
||||
return nil
|
||||
}
|
||||
i = d.HandleReaction(timestamp)
|
||||
if d.inputIDSet[m.ID] { // ignore if input
|
||||
return i
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue