Skip to content

Commit

Permalink
Merge pull request #176 from MakieOrg/hexaeder-patch-1
Browse files Browse the repository at this point in the history
update `convert_selection` for `LineSegments`
  • Loading branch information
hexaeder authored Mar 21, 2024
2 parents 543cc34 + 961682c commit be54be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interaction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ check if it is part of a `EdgePlot` and convert idx.
convert_selection(element, idx) = (element, idx)
function convert_selection(element::LineSegments, idx)
if element.parent isa EdgePlot
return (element.parent, Int(idx / 2))
return (element.parent, ceil(Int, idx / 2))
end
return (element, idx)
end
Expand Down

0 comments on commit be54be1

Please sign in to comment.