Skip to content

Hover rules for non-period-positioned bars #5554

Closed
@nicolaskruchten

Description

@nicolaskruchten

The new hover invariants in both compare and unified hovermodes for bars that are not period-positioned are:

  • the bar cannot win the hover if the cursor is not within the range of the bar (bar.x +/- width/2)
  • the bar is in the hover set if-and-only-if the point that wins the hover is within the range of the bar (bar.x +/- width/2)

N.B. (bar.x +/- width/2) here includes the gap

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions