Commit graph

7 commits

Author SHA1 Message Date
ee5f66775a fix: show cursor in certain rotate edge cases
this fixes another NaN caused in cases where the `end` vector of the
rotate mode is at y = 0. this might be caused by various factors,
notably again when the cursor starts at 0;0

thanks again @RGBCube
2024-07-11 16:53:06 +02:00
527804e49c fix: div by zero on rotate if cursor starts at 0;0
when the plugin is loaded whilst the cursor pos is at 0;0, the `end`
vector is being normalized allthough it will contain 0;0. this will
produce a division by zero, causing the rotation to be set to NaN,
ultimately causing the cursor not to render because of a NaN'd
projection matrix

thanks for reporting and testing @RGBCube
2024-07-10 15:16:17 +02:00
9fd1b6a1c2 feat: implemented shaperules 2024-07-03 00:38:50 +02:00
f2793f3bd3 fix: shake enabling compatible with nix
close #7
2024-07-02 16:53:52 +02:00
5fee8c5545 feat: stretch mode 2024-07-02 15:35:37 +02:00
bbe4709926 feat: rotate mode angle offset
close #4
2024-06-29 11:06:52 +02:00
fa7cab8717 chore: more abstraction and other refactors 2024-06-28 14:08:13 +02:00