Skip to content
Snippets Groups Projects
Commit e5ef4cc7 authored by Alexander Rose's avatar Alexander Rose
Browse files

cleanup

parent d436d3d5
Branches
Tags
No related merge requests found
...@@ -81,10 +81,7 @@ namespace Viewer { ...@@ -81,10 +81,7 @@ namespace Viewer {
let label = '' let label = ''
reprMap.forEach((roSet, repr) => { reprMap.forEach((roSet, repr) => {
const info = repr.getLabel(p) const info = repr.getLabel(p)
if (info) { if (info) label = info.label
label = info.label
}
// TODO do better, take objectId fully into account
repr.update({ hoverSelection: p }).run().then(() => { repr.update({ hoverSelection: p }).run().then(() => {
scene.update() scene.update()
requestDraw() requestDraw()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment