Skip to content

Cylinder hover callback on hidden cylinders? #835

@JavierSanchez-Utges

Description

@JavierSanchez-Utges

Hi!

Not sure this qualifies as a bug. This is something I had noticed a few times, but today I confirmed it. I have drawn some cylinders that can be hidden and shown back again. These cylinders have hover and unhover callbacks. I just realised that even when the cylinders are hidden, if I hover on its location, the hover callback still executes.

Fair enough the cylinder is still there, so it makes sense that the callback still triggers, but possibly in most use cases, if hidden: true you might not want that.

I can add a statement in the callback so the function does nothing if it is hidden, but I thought I would raise it here.

Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions