Skip to content

Commit

Permalink
List does not have a mouse over state
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Sep 22, 2021
1 parent 2872f77 commit fc712a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gooey/internal/list.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ end

local function handle_input(list, action_id, action, click_fn)
local over_stencil = gui.pick_node(list.stencil, action.x, action.y)

list.over = over_stencil

local touch = action_id == actions.TOUCH
local scroll_up = action_id == actions.SCROLL_UP
local scroll_down = action_id == actions.SCROLL_DOWN
Expand Down

0 comments on commit fc712a0

Please sign in to comment.