mpizenberg/annotation-app

Using a different mouse cursor for each tool

オープン

#18 opened on 2018/04/24

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Elm (3 件のフォーク)auto 404
UIfeature requestgood first issue

Repository metrics

Stars
 (31 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド