Skip to content

Commit

Permalink
Right click action type in spells table
Browse files Browse the repository at this point in the history
  • Loading branch information
dextercd committed Jan 4, 2024
1 parent 5f5b30f commit 78fa59b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions component-explorer/spawn_stuff/spells.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ return function()

imgui.TableNextColumn()
imgui.Text(action_type_to_name(action.type))
if imgui.IsItemHovered() and imgui.IsMouseReleased(imgui.MouseButton.Right) then
filter_action_type = action_type_to_name(action.type)
end

imgui.TableNextColumn()
imgui.Text(action.origin)
Expand Down

0 comments on commit 78fa59b

Please sign in to comment.