mpizenberg/annotation-app

Using a different mouse cursor for each tool

Aberta

#18 aberto em 24 de abr. de 2018

 (0 comentário) (0 reação) (0 responsável)Elm (3 forks)auto 404
UIfeature requestgood first issue

Métricas do repositório

Stars
 (31 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador