FFFF Center zooming around axis origin when nsPerPx gets limited to minNsPerPx · Issue #175 · dominikh/gotraceui · GitHub
[go: up one dir, main page]

Skip to content
< 91D2 div class="issueViewerContainer__i-3HrC mainContainer__O3kakG">

Center zooming around axis origin when nsPerPx gets limited to minNsPerPx #175

Open

Description

@dominikh

When zooming to very small spans (e.g. 1ns ones), the nsPerPx necessary to display only the span would be too small and it gets limited to 0.005 instead. This causes the span to be displayed on the far left of the window, with other spans being visible next to it. It should be centered around the axis origin instead, as that's where the user's focus lies. Or maybe it should always be centered around the window's center instead? After all, that's where span labels are located when zooming to spans that aren't tiny.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0