Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task bar drawing start position error #65

Closed
mfkwgizhoujian opened this issue Apr 14, 2022 · 2 comments
Closed

Task bar drawing start position error #65

mfkwgizhoujian opened this issue Apr 14, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@mfkwgizhoujian
Copy link

If the 'from' property is not set to the whole time, the starting position of the task bar is drawn incorrectly and will move forward.
The following figure is the official example. Draw the correct screenshot. The 'from' property value is '8:00'.
image

But if i change the 'from' property's value to '8:30', the starting position of the task bar is drawn incorrectly and will move forward.
The screenshot is as follows:
image

@V-Py V-Py added the bug Something isn't working label May 1, 2022
@ANovokmet
Copy link
Owner

Successfully reproduced, thank you. Working on it.

@ANovokmet
Copy link
Owner

ANovokmet commented Oct 4, 2023

There was an issue when timeline does not start at a rounded time, eg. 6:30. Now if timeline starts at 6:30 the headers will show for 1 hour intervals starting at from, eg. 6:30, 7:30, 8:30... so this is "fixed".

If we wanted for timeline to start at 6:30 but show headers for 7:00, 8:00, etc, we will need a different solution, perhaps some kind of startOffset (eg. startOffset: 1800 moves the headers 30 minutes forward) value on a header, or a setting that specified if header should be rounded down (eg. roundToUnit: true).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants