34 Commits

Author SHA1 Message Date
Yamila Moreno
ddba2ffa75
📎 Update Kaleidos Copyright (#9929) 2026-05-29 11:24:58 +02:00
Andrey Antukh
0779c9ca61
🐛 Fix TypeError in get-points when content is not PathData (#8634)
The with-cache macro in impl.cljc assumed the target was always a
PathData instance (which has a cache field). When content was a plain
vector, (.-cache content) returned undefined in JS, causing:

  TypeError: Cannot read properties of undefined (reading 'get')

Fix:
- path/get-points (app.common.types.path) is now the canonical safe
  entry point: converts non-PathData content via impl/path-data and
  handles nil safely before delegating to segment/get-points
- segment/get-points remains a low-level function that expects a
  PathData instance (no defensive logic at that level)
- streams.cljs: replace direct call to path.segm/get-points with
  path/get-points so the safe conversion path is always used
- with-cache macro: guards against nil/undefined cache, falling back
  to direct evaluation for non-PathData targets

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
2026-03-17 09:31:10 +01:00
Diana Veiga
37d5a31589
✨ Drop zoom snap (#7774)
* ✨ Remove const `zoom-half-pixel-precision`

* ♻️ Adjust usages
2025-11-20 13:28:45 +01:00
Andrey Antukh
b0cbe3cec8 ⚡ Replace content->points with faster get-points 2025-05-06 13:39:11 +02:00
Andrey Antukh
1fc0203c38 🎉 Add full integration with path data type feature 2025-05-06 13:39:10 +02:00
Alejandro Alonso
b5c419512f ✨ Add locking degrees increment (hold shift) on path edition 2024-06-03 13:01:45 +02:00
alonso.torres
895f649ef1 🐛 Stop drag events when the user focus out the application 2024-03-15 15:34:16 +01:00
Aitor
f5dd199bc6 💄 Change stoper to stopper 2024-02-29 10:20:47 +01:00
Andrey Antukh
833871df65 💄 Format frontend code 2024-01-08 09:32:50 +01:00
Andrey Antukh
ccf063b8ef ⬆️ Upgrade to beicon2 (part2) 2023-12-26 14:14:20 +01:00
Andrey Antukh
96f5a33f5f ⬆️ Upgrade to beicon2 (part1) 2023-12-26 14:14:20 +01:00
Andrey Antukh
82dc1526d4 ⚡ Add performance oriented refactor for mouse streams 2023-11-29 09:15:53 +01:00
alonso.torres
75d6e21af8 ✨ Show tools on path creation. Change snap while drawing 2023-01-19 13:39:21 +01:00
alonso.torres
c18d3c66a8 ✨ Changes to snap to pixel 2023-01-18 11:04:24 +01:00
Andrey Antukh
41134f22e9 📎 Update license header 2022-09-20 23:23:22 +02:00
alonso.torres
4f07613154 ✨ After review changes 2022-03-17 14:53:21 +01:00
alonso.torres
b5e965cf1a ✨ Improved behaviour for horizontal/vertical lines 2022-03-16 17:46:38 +01:00
alonso.torres
099d1259b2 ✨ Pixel/half-pixel on path drawing 2022-03-16 17:46:38 +01:00
alonso.torres
6fd35ae5d9 ✨ Updates selrects, groups to path 2021-09-27 21:58:29 +02:00
alonso.torres
4e439792ec ✨ Double click won't make a shape a path until you change a node 2021-07-08 16:02:39 +02:00
Andrey Antukh
3e4e54870b ✨ Fix linter issues on frontend (part 2). 2021-06-18 11:20:25 +02:00
alonso.torres
f8f506a8be 🐛 Fix some problems with paths 2021-05-27 11:10:30 +02:00
alonso.torres
65ad46ab38 ✨ Shortcuts for paths 2021-04-22 14:08:12 +02:00
alonso.torres
6331dff484 ✨ Snapping 180 angle with opposites handlers 2021-04-21 17:40:09 +02:00
alonso.torres
c7683dfd80 ✨ Improved make curve options 2021-04-21 17:40:09 +02:00
alonso.torres
de11e85d2b ♻️ Refactor path utils 2021-04-21 17:40:09 +02:00
alonso.torres
74f99f0d48 ✨ Toggle snap on button 2021-04-14 16:57:25 +02:00
alonso.torres
f396ef4fa0 ✨ Snap for moving path nodes and handlers 2021-04-14 16:57:25 +02:00
alonso.torres
de8207c5a6 ✨ Snap on paths 2021-04-14 16:57:25 +02:00
alonso.torres
5f114163dc ✨ Fixes licenses headers 2021-04-14 16:57:25 +02:00
alonso.torres
5ce2bc862c ♻️ Move streams refactor 2021-04-14 16:57:25 +02:00
alonso.torres
6db144e5ed ✨ Path-point calculation 2021-04-14 16:57:25 +02:00
alonso.torres
421b30c1d8 ✨ Snapping on path elements 2021-04-14 16:57:25 +02:00
alonso.torres
2e6dacf539 ♻️ Refactor path into modules 2021-04-14 16:57:25 +02:00