Commit Graph

47 Commits (e38d2080676c662775a7a16575f7e82683795233)

Author SHA1 Message Date
Varun Patil 998fd27dc7 scroller: fix tick vertical location on mobile 2023-01-17 22:36:05 -08:00
Varun Patil 49916f14d9 scroller: fix type 2022-12-10 12:29:27 -08:00
Varun Patil 0bce4ced49 Restore type checking 2022-12-10 10:59:36 -08:00
Varun Patil 3b8571ce92 backport vue3 branch 2022-12-10 09:58:30 -08:00
Varun Patil 07379d836c remove class vue dep (1) 2022-12-10 01:01:44 -08:00
Varun Patil 0362728745 scroller: use middle of touch finger for reference 2022-12-06 21:09:21 -08:00
Varun Patil 9a6814c0c0 scroller: fix interactend call on outside scroller 2022-12-06 21:06:31 -08:00
Varun Patil dcc9f06d3b scroller: add snapping offset 2022-12-06 12:40:56 -08:00
Varun Patil 6a07f5b02e scroller: optimize duplicate scroll requests 2022-12-06 12:36:43 -08:00
Varun Patil 5b6fa014c2 scroller: snap to day on touch 2022-12-06 12:32:52 -08:00
Varun Patil 9aa2db3be4 scroller: fix preventing in touch 2022-12-06 12:28:02 -08:00
Varun Patil 9b0fcaf47f scroller: move ticks to left on mobile 2022-12-06 12:06:02 -08:00
Varun Patil 7ff573b367 timeline: more perf tweaks 2022-12-04 19:49:16 -08:00
Varun Patil d11e463203 Cache inner width and height 2022-11-23 03:16:45 -08:00
Varun Patil b42f49e1b2 scroller: fix init key 2022-11-23 02:10:00 -08:00
Varun Patil 83b217e110 scroller: fix some tick bug 2022-11-03 16:03:50 -07:00
Varun Patil e9b1e3db9c updateFromRecyclerScroll: run without animation frame 2022-10-29 17:29:51 -07:00
Varun Patil 32bc48418f Make listeners passive 2022-10-29 17:17:34 -07:00
Varun Patil af5e3ef105 Simplify scroller timers 2022-10-29 17:11:12 -07:00
Varun Patil 80835421a5 Improve scroller behavior 2022-10-29 16:47:37 -07:00
Varun Patil 1bea9c5ad1 Reduce recyclerScrolled calls 2022-10-29 16:15:18 -07:00
Varun Patil 00a5230c9f Revert "Improve scroller performance"
This reverts commit 0fbd076a52.
2022-10-29 16:08:06 -07:00
Varun Patil 0fbd076a52 Improve scroller performance 2022-10-29 15:50:14 -07:00
Varun Patil fc6a4fc244 Make the code prettier 2022-10-28 12:08:34 -07:00
Varun Patil d489ffbc1d Don't round in scroller manager 2022-10-26 21:33:11 -07:00
Varun Patil e47f9ee999 Fix getCoords rounding error 2022-10-22 11:58:03 -07:00
Varun Patil 928969b7e4 Readjust on scroller height change 2022-10-22 11:35:43 -07:00
Varun Patil d7feba6803 Fix hover cursor stutter on day load 2022-10-22 10:15:28 -07:00
Varun Patil 51db40fb9e Make scroller non-linear 2022-10-20 23:48:28 -07:00
Varun Patil c967065d83 refactor: scroller moveto 2022-10-20 22:24:00 -07:00
Varun Patil 3da3cab4b1 Restore tick centering 2022-10-20 20:16:56 -07:00
Varun Patil 2715209a3d scroller: recreate overrides adjust 2022-10-20 17:39:11 -07:00
Varun Patil 0f4f3b7ef8 scroller: use only hv on mobile 2022-10-20 16:03:33 -07:00
Varun Patil d6ad3c097c Make mobile scroller larger 2022-10-20 15:37:36 -07:00
Varun Patil cbe6629372 scroller: use sequential keys for dash 2022-10-19 12:57:34 -07:00
Varun Patil 9a52caacc3 Fix at least the scroller 2022-10-19 12:39:07 -07:00
Varun Patil 0a028ef791 scroller: computeVisibleTicks after adjust 2022-10-19 11:33:48 -07:00
Varun Patil ffb9e1604d Fix incorrect scroll on date edit 2022-10-16 19:58:18 -07:00
Varun Patil 90f197549c scroller: add guards 2022-10-16 11:46:26 -07:00
Varun Patil 0109eca86d scroller: always adjust all ticks 2022-10-15 22:48:25 -07:00
Varun Patil e298ef97fa big: switch to justified layout 2022-10-15 19:55:53 -07:00
Varun Patil a4630ac11a Remove unused import 2022-10-15 11:18:32 -07:00
Varun Patil 7723f551c8 scroller: use binary search for moveHoverCursor 2022-10-15 11:00:24 -07:00
Varun Patil d4a487ffc9 refactor: make scroller use rows 2022-10-15 10:41:49 -07:00
Varun Patil b31146097e Revert "scroller: no reflow if nothing changed"
This reverts commit a29eeedc66.
2022-10-14 16:42:13 -07:00
Varun Patil a29eeedc66 scroller: no reflow if nothing changed 2022-10-14 16:33:55 -07:00
Varun Patil 0b1559af19 reafactor: out scroller 2022-10-14 16:29:20 -07:00