10 Commits

Author SHA1 Message Date
Oscar Lorentzon
f756f8a275 refactor: remove component resize api
Use size observable from render service instead of
exposing specific resize method on components.
2018-11-09 10:17:53 +00:00
Oscar Lorentzon
1969bd83bc refactor: use pipe operators
Use pipe operators everywhere.
Fix errors becasue of piping more than nine operations.
2018-06-13 12:03:40 +00:00
Oscar Lorentzon
72e778b921 chore: upgrade to rxjs 6 compat
Downgrade node types version because of observable type
compatibility issue.
Remove unsupported generics from empty calls.
Use observable create for API call wrapping
becasue of non compatible type when using
observable from promise.
Add frame generator because it was removed
from RxJS 6.
2018-06-12 06:01:04 +00:00
Oscar Lorentzon
c38f4e7c4f chore: remove typings dependency
Add types folder as type root.
Declare modules in type def files to be able to compile.
2018-06-11 06:16:58 +00:00
Oscar Lorentzon
6ee08dd46e fix: emit changing position correctly
Create separate event stream for changing position
so that it is only emitted when it actually changes.
This avoids having changing position emitted when
opening the advanced controls buttons the first time
leading to spatial graph mode being set without
reason.
2018-02-20 11:51:48 +01:00
Oscar Lorentzon
a4b2b61d45 refactor: simplify debounce behavior
Use RX audit time operator to ensure moving to a key
every 400 milliseconds even if still dragging thumb.
2018-02-20 11:51:47 +01:00
Oscar Lorentzon
95ddff5d0f fix: render position correctly after sequence change
When navigating to a new node and directly thereafter pressing
the timeline thumb the thumb should be rendered in the new position
after the sequence switch has occured.
Add unit test case for above scenario.
2018-02-20 11:51:47 +01:00
Oscar Lorentzon
492134d3bf test: buffered move logic for emitted index
Use virtual time scheduler to test debounce time behavior.
2018-02-20 11:51:47 +01:00
Oscar Lorentzon
7d14e31418 test: correct render position 2018-02-20 11:51:47 +01:00
Oscar Lorentzon
9d62b9d8c1 test: sequence component graph calls 2018-02-20 11:51:47 +01:00