Disallow user select on search results pane

This commit is contained in:
Kovid Goyal 2021-05-20 16:42:43 +05:30
parent 34294a9c9e
commit 676feaa5c2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -65,6 +65,7 @@ class SearchOverlay:
c.style.flexDirection = 'column'
c.style.alignItems = 'stretch'
c.style.overflow = 'hidden'
c.style.userSelect = 'none'
c.addEventListener('keydown', self.onkeydown)
c.addEventListener('keyup', self.onkeyup)