Commit Graph
44 Commits
Author SHA1 Message Date
Arnošt Pleskot b99bf74c3d feat: hide scroll back to content button 2023-09-12 12:23:13 +02:00
Arnošt Pleskot 84b19a77d7 feat: make constrained scroll working with split canvases 2023-09-11 17:07:07 +02:00
Arnošt Pleskot 53a88d4c7a Merge branch 'master' of github.com:excalidraw/excalidraw into arnost/scroll-in-read-only-links 2023-09-07 13:52:29 +02:00
Arnošt Pleskot 10900f39ee fix: allow to scroll on one axis when other is fully in view 2023-09-05 17:32:51 +02:00
Arnošt Pleskot ebbd72e792 feat: use single overscrollAllowance for both axis 2023-09-04 11:55:14 +02:00
Arnošt Pleskot f8ba862774 feat: set initial zoom to viewportZoomFactor when lockZoom is false 2023-09-03 23:47:48 +02:00
Arnošt Pleskot 806b1e9705 fix: prevent viewport jumping when panning by mouse wheel 2023-09-03 16:54:04 +02:00
Arnošt Pleskot 4469c02191 chore: move this.scene.getElementsIncludingDeleted() result into const 2023-08-01 16:52:59 +02:00
Arnošt Pleskot 04e23e1d29 fix: do not animate empty scene 2023-08-01 16:30:45 +02:00
Arnošt Pleskot d24a032dbb feat: set scroll constraints on initial scene state 2023-07-31 18:33:39 +02:00
Arnošt Pleskot 76d3930983 fix: typo 2023-07-31 09:50:47 +02:00
Arnost PleskotandGitHub af6e64ffc2 Merge branch 'master' into arnost/scroll-in-read-only-links 2023-07-31 09:26:14 +02:00
a7c590d459 feat: render bold lines in grid (#6779)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-07-27 22:41:44 +00:00
Arnošt Pleskot 4e9039e850 feat: simplify memoization logic 2023-07-15 12:44:34 +02:00
Arnošt Pleskot 132750f753 feat: splitting logic, memoization 2023-07-15 12:44:33 +02:00
Arnošt Pleskot 71eb3023b2 [debug] 2023-07-15 12:44:32 +02:00
Arnošt Pleskot 6d165971fc feat: set view mode when constrains set via props 2023-07-15 12:44:31 +02:00
Arnošt Pleskot 9562e4309f feat: add zoom lock and viewportZoomFactor 2023-07-15 12:44:30 +02:00
Arnošt Pleskot e8e391e465 refactor: split constrainScroll into smaller functions 2023-07-15 12:44:29 +02:00
Arnošt Pleskot 92be92071a feat: disable animation on zooming 2023-07-15 12:44:28 +02:00
Arnošt Pleskot 71918e57a8 feat: cleanup 2023-07-15 12:44:27 +02:00
Arnošt Pleskot c0bd9027cb feat: animate the scroll to constrained area 2023-07-15 12:44:26 +02:00
Arnošt Pleskot 7336b1c276 test: update snapshot 2023-07-15 12:44:25 +02:00
Arnošt Pleskot 7fb6c23715 fix: remove forgotten console.log 2023-07-15 12:44:24 +02:00
Arnošt Pleskot 82014fe670 chore: comments and variable renaming 2023-07-15 12:44:23 +02:00
Arnošt Pleskot bc44c3f947 feat: add overscroll when constrained area is smaller than viewport 2023-07-15 12:44:21 +02:00
Arnošt Pleskot 19ba107041 feat: pass scrollConstraints via props 2023-07-15 12:44:18 +02:00
Arnošt Pleskot 381ef93956 feat: remove zoom limit 2023-07-15 12:42:46 +02:00
Arnošt Pleskot f82363aae9 feat: enforce constrains on setting constrains 2023-07-15 12:42:45 +02:00
Arnošt Pleskot 485c57fd59 chore: remove console.log 2023-07-15 12:42:44 +02:00
Arnošt Pleskot 35b43c14d8 feat: allow scroll over constraints while mouse down 2023-07-15 12:42:43 +02:00
Arnošt Pleskot f7e8056abe feat: update constraints on window resize 2023-07-15 12:42:42 +02:00
Arnošt Pleskot 71f7960606 test: fix test snapshots 2023-07-15 12:42:41 +02:00
Arnošt Pleskot 2998573e79 feat: limit scroll in componentDidUpdate 2023-07-15 12:42:40 +02:00
Arnošt Pleskot 209934c90a feat: center constrained area on zoom out 2023-07-15 12:42:39 +02:00
Arnošt Pleskot a8158691b7 feat: limit zoom by translateCanvas 2023-07-15 12:42:38 +02:00
Arnošt Pleskot 75f8e904cc feat: add possibility to limit scroll area 2023-07-15 12:42:37 +02:00
3bd5d87cac feat: disable collab feature when running in iframe (#6646)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-06-12 17:44:31 +02:00
Arnost PleskotandGitHub 16c7945ca0 feat: assign random user name when not set (#6663) 2023-06-12 16:05:07 +02:00
5ca3613cc3 feat: redesigned collab cursors (#6659)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-06-12 15:43:14 +02:00
253c5c7866 perf: memoize rendering of library (#6622)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-05-31 15:37:13 +02:00
1e3c94a37a feat: recover scrolled position after Library re-opening (#6624)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-05-31 10:22:02 +02:00
a91e401554 feat: clearing library cache (#6621)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-05-29 16:01:44 +02:00
7340c70a06 perf: improve rendering performance for Library (#6587)
* perf: improve rendering performance for Library

* fix: return onDrag and onToggle functionality to Library Items

* perf: cache exportToSvg output

* fix: lint warning

* fix: add onClick handler into LibraryUnit

* feat: better spinner

* fix: useCallback for getInsertedElements to fix linter error

* feat: different batch size when svgs are cached

* fix: library items alignment in row

* feat: skeleton instead of spinner

* fix: remove unused variables

* feat: use css vars instead of hadcoded colors

* feat: reverting skeleton, removing spinner

* cleanup and unrelated refactor

* change ROWS_RENDERED_PER_BATCH to 6

---------

Co-authored-by: dwelle <luzar.david@gmail.com>
2023-05-24 14:40:20 +00:00