Canvas based TypeScript animation timeline editor.
MIT License
357
stars
65
forks
source link
Allow scrubbing even if the playhead is not selected when mouse is in the header area. This makes it easier to scrub since the user does not have to aim the thin line. #6
Sorry for the noisy diff, I don't know where these whitespace diffs come from, didn't reformat this time. I am using vscode.
Essentially it is just line 479:
if (pos.y <= options.headerHeight || (pos.x >= timeLinePos - width / 2 && pos.x <= timeLinePos + width / 2)) {