Skip to content

Zoom amount is not enough when using with large durations #2

@nipunasudha

Description

@nipunasudha

When the total duration of the timeline is about 200 days, this is the maximum zoom possible.

Screenshot_20200528-144638_Project_Manager_Dev

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions