::press gets called consisntely when holding down a key and that will cause lag when scrolling
This commit is contained in:
parent
7e33e62486
commit
87656129f7
|
@ -570,7 +570,7 @@ local function build_widget(self)
|
||||||
self._private.search_timer:again()
|
self._private.search_timer:again()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
self._private.prompt:connect_signal("key::press", function(_, mod, key, cmd)
|
self._private.prompt:connect_signal("key::release", function(_, mod, key, cmd)
|
||||||
if key == "Escape" then
|
if key == "Escape" then
|
||||||
self:hide()
|
self:hide()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue