Closed codybloemhard closed 2 months ago
You are compiling examples from the head of develop against the latest release on crates.io which isn't going to work. You can check out the tag for the 0.3.5 release to see the examples that are valid for use with it.
The mouse handlers you are talking about here are not part of 0.3.5 as I've not cut a new release since they were added I'm afraid.
Describe the bug
I tried out Penrose with the minimal example but it would not compile. Specifically the code that handles the mouse bindings. It cannot find
MouseDragHandler
,MouseResizeHandler
andclick_handler
. I tried importing them.The type of the function seems to be wrong as well:
I compile by just giving an empty hashmap as I don't need special mouse bindings.
To Reproduce
Compile the minimal example on the latest version of Penrose.
Expected behavior
Example is expected to compile.
Versions & OS Details