Skip to content

Commit

Permalink
remove waspressed
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrumbiegel committed May 15, 2024
1 parent 93d753e commit cafafcd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docs/src/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ Makie.And
Makie.Exclusively
Makie.Not
Makie.Or
Makie.waspressed
```
2 changes: 1 addition & 1 deletion src/interaction/events.jl
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ of it's current state. For example, when reacting to a mousebutton event, you ca
pass `event.button` so that a key combination including that button still evaluates
as true.
See also: [`waspressed`](@ref) [`And`](@ref), [`Or`](@ref), [`Not`](@ref), [`Exclusively`](@ref),
See also: [`And`](@ref), [`Or`](@ref), [`Not`](@ref), [`Exclusively`](@ref),
`&`, `|`, `!`
"""
ispressed(events::Events, mb::Mouse.Button, waspressed = nothing) = mb in events.mousebuttonstate || mb == waspressed
Expand Down

0 comments on commit cafafcd

Please sign in to comment.