Skip to content

Commit

Permalink
docs: Fix undef var (MakieOrg#3445)
Browse files Browse the repository at this point in the history
Fix undef var
  • Loading branch information
rapus95 authored Dec 6, 2023
1 parent 53fb35d commit 0275665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/blocks/axis.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ mutable struct MyInteraction
end

function Makie.process_interaction(interaction::MyInteraction, event::MouseEvent, axis)
if interaction.use_left_click && event.type === MouseEventTypes.leftclick
if interaction.allow_left_click && event.type === MouseEventTypes.leftclick
println("Left click in correct mode")
end
if interaction.allow_right_click && event.type === MouseEventTypes.rightclick
Expand Down

0 comments on commit 0275665

Please sign in to comment.