Skip to content

Allow specifiying pointer precision (padding around draggable areas) #611

@DanielBreiner

Description

@DanielBreiner

Currently, the pointer precision is hardcoded as 5px for mouse and 10px for touch. Allow us to customize these values.

Example 1: I want the precision the be a specific value, like 12px, 8px, depending on my layout. Or remove it althogether because I set the separator's size to be large enough.

Example 2: Here I render a line inside of the separator, which itself has the full size between panels. This is necessary so I can correctly set the position of the markers above. Now the line with its padding is already large enough as a target, but because I cannot specify pointer precision, hover and click is possible when the pointer is well outside it.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions