Skip to content

Selection happens in wrong place in retina build #5

Closed

Description

@almonk

Since the retina build, drag selection is off – I'm assuming it's related to calculating pixel values versus retina values?

Screen.Recording.2022-08-09.at.18.39.35.mov

Activity

  1. mitchellh commented on Aug 9, 2022

    @mitchellh
    Contributor

    The xpos/ypos of the mouse callbacks (click and pos) are in screen coordinates but we need to convert them to pixels. This might work: https://www.glfw.org/docs/latest/window_guide.html#window_scale I started trying to hack something in but its a mess so I'll take a proper pass at this some other time.

  2. mitchellh commented on Aug 25, 2022

    @mitchellh
    Contributor

    84b7596

    Fixed

  3. added a commit that references this issue on Mar 3, 2026
  4. added a commit that references this issue on Sep 14, 2026
  5. added a commit that references this issue on Oct 7, 2026
  6. added a commit that references this issue on Oct 27, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions