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

Fix combining outline mask for selection & hover #1552

Merged
merged 2 commits into from
Mar 10, 2023

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Mar 10, 2023

When hovering a an entity of an already selected group:

Before:
image
nothing happens!

After:
image
Get expected "internal" hover highlight!

Checklist

@Wumpf Wumpf added ui concerns graphical user interface 📺 re_viewer affects re_viewer itself labels Mar 10, 2023
@@ -37,19 +37,19 @@ impl MeshPart {

let _default_color = DefaultColor::EntityPath(ent_path);
let world_from_obj_affine = glam::Affine3A::from_mat4(world_from_obj);
let entity_outlines = highlights.entity_outline_mask(ent_path.hash());
let entity_highlight = highlights.entity_outline_mask(ent_path.hash());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The intermixing of "highlight" and "outline" as concepts could probably use some attention at some point.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as you can see I went back and forth a bit: They are a form of highlights and soon the only one that's why I went back to calling it highlight 🤔

@Wumpf Wumpf merged commit 4dbc2a1 into main Mar 10, 2023
@Wumpf Wumpf deleted the andreas/fix-outline-mask-combining branch March 10, 2023 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📺 re_viewer affects re_viewer itself ui concerns graphical user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants