mpizenberg/annotation-app

Using a different mouse cursor for each tool

Aperta

#18 aperta il 24 apr 2018

 (0 commenti) (0 reazioni) (0 assegnatari)Elm (3 fork)auto 404
UIfeature requestgood first issue

Metriche repository

Star
 (31 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

It is possible to personalize the cursor when the mouse is hovering an element. Reference documentation is available on the mdn doc.

The function that render the annotations area is the view function in the file client/src/View/AnnotationsArea.elm. In particular, we could add the correct pointer style in the attributes variable, depending on the current annotated image status.

Guida contributor