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

Cut Timeline Handle Into Component #3

Closed
legomushroom opened this issue Oct 25, 2016 · 2 comments
Closed

Cut Timeline Handle Into Component #3

legomushroom opened this issue Oct 25, 2016 · 2 comments
Labels
help wanted need help, any contribution are welcome

Comments

@legomushroom
Copy link
Member

Please read the help wanted guide before start.

Illustration:

timeline handle

Task:

Create react (preact) component of the timeline handle. It should take 100% of parent height and should be shifted -10px top :

cut timeline

Colors:

  • purple background: #3D1B3C
  • orange: #FF4F02
  • lines: white

Component Requirements

It should receive shift prop and set that shift as translateX for the component.

Also it should receive scale prop that will affect the translateX value, regarding the simple formular: translateX({shift * scale}px).

Component will have horizontal drag/pan event handler but that's not relevant right now.

Entire sketch mockup could be found here: link and here link.

Cheers! ~

@legomushroom legomushroom added the help wanted need help, any contribution are welcome label Oct 25, 2016
@dev99problems
Copy link
Member

Will do

@legomushroom
Copy link
Member Author

legomushroom commented Dec 19, 2016

Hey, I was at the point where I need it asap, so implemented it myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted need help, any contribution are welcome
Projects
None yet
Development

No branches or pull requests

2 participants