You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the total duration of the timeline is about 200 days, this is the maximum zoom possible.
Is there any way I can provide max & min zoom levels?
Note:
I noticed a pixelPerSeconds measure throughout the plugin source. Would that be an appropriate measure for larger durations? Could it introduce problems due to double accuracy?
Edit:
Oh wait, there is no zoom limit. I can zoom more and more, but each time I zoom, it zooms less and less. At the end it gets really laggy and I have to do the zoom gesture multiple times to zoom even a little bit. And the app freezes after that.
I don't know the reason for this, but if the reason is Flutter being overwhelmed by the length of the TimelineEditorBox, you may have to render only the part of the TimelineEditorBox that is visible by dynamically resizing the Box just enough to cover the visible width. When the user scrolls, the box size & position should readjust.
A double variable reaching 0 or Inf could also be the reason for this behavior.
The text was updated successfully, but these errors were encountered:
Sorry I have a lot of work so I could not spend much time on this.
I have a version in development that use a list builder for better performance. I just need to fix a scroll offset mismatch between time indicator and elements when zooming
Sorry I have a lot of work so I could not spend much time on this.
I have a version in development that use a list builder for better performance. I just need to fix a scroll offset mismatch between time indicator and elements when zooming
Thank you for the update. Is it on master? I can fork and try to fix it.
When the total duration of the timeline is about 200 days, this is the maximum zoom possible.
Is there any way I can provide max & min zoom levels?
Note:
I noticed a
pixelPerSeconds
measure throughout the plugin source. Would that be an appropriate measure for larger durations? Could it introduce problems due todouble
accuracy?Edit:
Oh wait, there is no zoom limit. I can zoom more and more, but each time I zoom, it zooms less and less. At the end it gets really laggy and I have to do the zoom gesture multiple times to zoom even a little bit. And the app freezes after that.
I don't know the reason for this, but if the reason is Flutter being overwhelmed by the length of the
TimelineEditorBox
, you may have to render only the part of theTimelineEditorBox
that is visible by dynamically resizing the Box just enough to cover the visible width. When the user scrolls, the box size & position should readjust.A double variable reaching
0
orInf
could also be the reason for this behavior.The text was updated successfully, but these errors were encountered: