I got a bit confused by one of the examples provided on the Makie web page on events (Events · Makie). In the code example that illustrates the implementation of dragging a point, one of the conditions checks whether the mousebutton.action is equal to Mouse.repeat. I was unable to find any more information about this particular state, and I was unable to actually get mousebutton.action to ever hold this value with the following code when running Julia v1.10.2 and GLMakie v0.9.9:
using GLMakie
f = Figure()
ax = Axis(f[1, 1])
display(f)
deregister_interaction!(ax, :rectanglezoom)
deregister_interaction!(ax, :dragpan)
deregister_interaction!(ax, :scrollzoom)
on(events(f).mousebutton) do event
println(event.action)
end
Am I doing something wrong or is a repeat state current not implemented? If the latter, will it be implemented in the future or is the example code provided on the Makie webpage outdated?