mpizenberg/annotation-app

Using a different mouse cursor for each tool

开放

#18 创建于 2018年4月24日

 (0 条评论) (0 个反应) (0 位负责人)Elm (3 个派生)auto 404
UIfeature requestgood first issue

仓库指标

星标
 (31 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南