Commit Graph

14 Commits

Author SHA1 Message Date
Prateek Kalra
2c15662ef2 🐛 Fixed pinch zooming mouse issue (with ctrl key) (#940)
**Fixed the drastic zoom increase decrease on ctrl + mouse scroll.**

The issue was occuring due to the "scale" property in the pinch gesture.
The scale was getting bigger values, leading to more zooming.
What I did was, made sure that maximum scale difference between current
and last value cannot be more than the scaling factor used in
zoomin/zoomout buttons. That is. 0.2
Also, the pinch zoom would work as expected.

/claim #567
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

- Improvement: Enhanced zoom precision in the Graph component. This
update allows for more accurate scaling when adjusting the view in the
graph builder. The change ensures that the zoom level adjusts more
precisely, providing a smoother and more controlled user experience when
interacting with graphs.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-18 15:07:27 +02:00
Baptiste Arnaud
b0f25f301b (analytics) Improve analytics graph accuracy 2023-06-30 12:39:20 +02:00
Baptiste Arnaud
0582ca74ac 🚸 (editor) Improve editor performance by rounding paths
Related to #575
2023-06-24 11:48:46 +02:00
Baptiste Arnaud
44d7a0bcb8 ♻️ (builder) Remove barrel export and flatten folder arch 2023-03-15 11:52:38 +01:00
Baptiste Arnaud
cbc8194f19 ♻️ Re-organize workspace folders 2023-03-15 08:35:16 +01:00
Baptiste Arnaud
bf1fbf2c53 🩹 Fix crash on bot load when it has no groups 2023-03-09 14:21:02 +01:00
Baptiste Arnaud
b77e2c8d2c 🔥 Remove disable response saving option
Doesn't work properly when it comes to keep tracking storage usage
2023-03-07 14:41:57 +01:00
Baptiste Arnaud
f8f98adc1c (editor) Improve edges responsiveness
Also fixed a ton of useEffects should make everything a bit more reactive.

Closes #307
2023-02-28 15:38:28 +01:00
Baptiste Arnaud
ac464eabdf ♻️ (editor) Improve webhook creation
Remove terrible useEffects
2023-02-15 14:51:58 +01:00
Baptiste Arnaud
51f76700b2 📦 Update cuid to cuid2 2023-02-10 15:06:02 +01:00
Baptiste Arnaud
6c55510d80 🚸 (editor) Automatically move graph on first group on mount 2022-12-16 08:47:02 +01:00
Baptiste Arnaud
7632c5426c ♻️ (editor) Migrate from react-draggable to @use-gesture
Closes #168
2022-11-18 07:58:43 +01:00
Baptiste Arnaud
6725c17a02 🚸 (condition) Enable multiple condition items in one block
Closes #162
2022-11-16 14:56:09 +01:00
Baptiste Arnaud
643571fe7d ♻️ (builder) Change to features-centric folder structure 2022-11-15 15:14:38 +01:00