Commit graph

47 commits

Author SHA1 Message Date
Tomáš Mládek
4e3dc29337 also hide devpanel 2021-01-17 15:11:03 +01:00
Tomáš Mládek
a0a9b02bcf conditionally allow debug if '?debug' in url 2021-01-17 14:59:21 +01:00
bceb4dec7a zoom after larger delay 2021-01-17 12:34:48 +01:00
74ef8288b1 rework classes to be more semantic, images outside of viewport are hidden 2021-01-16 22:32:37 +01:00
c0ae3c7354 fix loading line centering 2021-01-16 22:22:02 +01:00
869c4ea129 do not coerce in loadedPercent 2021-01-16 14:52:29 +01:00
2e2728f4e2 if ellipse is found, consider it a circle with r=rx+ry/2 (fix #2) 2021-01-16 14:52:05 +01:00
124ce4779f add initial loading bar (fix #4) 2021-01-16 14:33:18 +01:00
4dbb9094b7 ignore controls while a smooth pan is in progress 2021-01-12 18:59:05 +01:00
7361147f85 move BoundingBox def to SVGContent.vue 2021-01-12 18:06:53 +01:00
8bbcd96050 add prop types, fix warnings 2021-01-12 18:05:41 +01:00
4c42baf268 broaden anchor detection (not just anchor_N but anchor_anything) 2021-01-12 00:53:47 +01:00
8b0e1c0fa8 process anchor links (href.startsWith 'anchor') 2021-01-12 00:39:32 +01:00
ea1a96acd3 open all hyperlinks in new tab 2021-01-12 00:24:35 +01:00
f6c6e3a412 allow specifying multiple directions (e.g. "up right") 2021-01-12 00:15:42 +01:00
47e2e19a3c lower minZoom to 0.05 2021-01-11 23:51:37 +01:00
b23d471281 add lots of logging everywhere 2021-01-11 23:10:40 +01:00
3ee9ae83ca improve devpanel (cursor position, styling) 2021-01-11 22:47:36 +01:00
bb085c174e set MOVE_EDGE to 25% of either dimension 2021-01-11 22:37:20 +01:00
f3eb39e034 edgeScrolling via rAF, fix bug when distanceToEdge == 0 2021-01-11 22:35:16 +01:00
32de482742 support rotation, refactor VideoScroll.vue 2021-01-11 22:17:29 +01:00
97b4aae360 remove currentTransform (unnecessary) 2021-01-11 19:51:05 +01:00
a7bd0f7b71 process videoscrolls (incurs additional loads) last 2021-01-11 17:47:57 +01:00
00b379500a spacebar to return to start 2021-01-11 17:43:24 +01:00
3e30ae81e0 make svg overflow visible 2021-01-11 17:22:08 +01:00
9eda504f92 improve long-range anchor pans 2021-01-11 14:47:14 +01:00
70a09e9eec add small dev panel 2021-01-11 00:06:13 +01:00
28b44e262e add fps counter (if VUE_APP_DEMO is set), rename svg hidden class 2021-01-10 23:37:37 +01:00
72ecb5d4c2 comments, reorganize 2021-01-10 22:59:50 +01:00
b270693868 limit minZoom (???) 2021-01-10 22:22:15 +01:00
24dc9c9f18 limit maxZoom (to a value where elements start disappearing anyway) 2021-01-10 22:22:15 +01:00
48e813471f pan to #start element on load; reduce css classes 2021-01-10 22:14:56 +01:00
e7f2b5ee0c double click to both exit and enter fullscreen 2021-01-10 22:04:42 +01:00
290687ff47 also hide audio areas 2021-01-10 21:58:38 +01:00
631ba25f9f add audio areas 2021-01-10 21:55:40 +01:00
2305ae1a82 remove edgeScrolling prop/flag (since it's limited to fullscreen) 2021-01-10 16:29:51 +01:00
b3212c6c6a set background from SVG's pagecolor attr, default to black 2021-01-10 16:29:34 +01:00
77e20afc61 only edge scroll in fullscreen (enabled by double-click) 2021-01-10 13:25:49 +01:00
a6bc042876 adjust videoscroll size according to svg element, add all directions 2021-01-10 13:12:41 +01:00
847f40961a make videoscroll URLs relative 2021-01-10 12:48:51 +01:00
6e07542ace edge scrolling (todo: use rAF instead of timers) 2021-01-09 22:50:06 +01:00
22ee6f50cf video scrolls 2021-01-09 20:36:20 +01:00
1ce3b244f0 comments, remove bbox 2021-01-09 18:45:53 +01:00
af6694f890 fix scaling (duh) 2021-01-09 18:40:30 +01:00
28a200ee13 actual scale from anchor 2021-01-09 18:35:55 +01:00
d597aa9ae0 reorganize 2021-01-09 18:34:13 +01:00
52b5dda707 initial commit, got anchors working 2021-01-09 17:38:35 +01:00