Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Priority "hover color" over custom colors #550

Open
5 tasks done
robertbiskup opened this issue Dec 31, 2024 · 0 comments
Open
5 tasks done

Priority "hover color" over custom colors #550

robertbiskup opened this issue Dec 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@robertbiskup
Copy link

Describe the bug 📝

When I add new colors to the highlighter component and use them to color the elements with the function highlightByID(color, items, removePrevious, centerOnProject), the hover functionality stops working on that elements as if this new color had priority. The color-hover should still works properly after moving to an element and after leaving it - the new custom color should returns (not the original one). Hover is a special highlighter, it should take priority over added custom highlighted colors.

Reproduction ▶️

No response

Steps to reproduce 🔢

No response

System Info 💻

"@thatopen/components-front": "2.4.2",
"@thatopen/components": "2.4.3",
"@thatopen/fragments" : "2.4.0",
"web-ifc": "0.0.66",

Used Package Manager 📦

npm

Error Trace/Logs 📃

No response

Validations ✅

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
  • Check that this is a concrete bug. For Q&A join our Community.
  • The provided reproduction is a minimal reproducible example of the bug.
@robertbiskup robertbiskup added the bug Something isn't working label Dec 31, 2024
@robertbiskup robertbiskup changed the title Priority of "hover color" over custom colors Priority "hover color" over custom colors Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant