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.

貢獻者指南