mirror of https://github.com/mpv-player/mpv
console.lua: exit when left clicking outside of selectable items
This commit is contained in:
parent
1edc02174f
commit
0dc2e85ff8
|
@ -830,6 +830,8 @@ local function bind_mouse()
|
||||||
if item then
|
if item then
|
||||||
selected_match = item
|
selected_match = item
|
||||||
handle_enter()
|
handle_enter()
|
||||||
|
else
|
||||||
|
set_active(false)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue