mirror of https://github.com/mpv-player/mpv
console.lua: update selected item under the cursor on mouse wheel action
This commit is contained in:
parent
98ed972246
commit
0c5420b412
|
@ -926,6 +926,11 @@ local function move_history(amount, is_wheel)
|
|||
math.max(first_match_to_print + amount, 1), #matches - max_lines + 2)
|
||||
end
|
||||
|
||||
local item = determine_hovered_item()
|
||||
if item then
|
||||
selected_match = item
|
||||
end
|
||||
|
||||
update()
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue