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

Center on node not working properly for HighDPI #2705

Closed
mbastian opened this issue Nov 26, 2022 · 0 comments
Closed

Center on node not working properly for HighDPI #2705

mbastian opened this issue Nov 26, 2022 · 0 comments
Assignees
Milestone

Comments

@mbastian
Copy link
Member

With HighDPI the "center on node" feature isn't working.

Expected Behavior

Node is centered.

Current Behavior

Position of node is incorrect for High DPI.

Possible Solution

Multiply by global scale.

Steps to Reproduce

  1. Load a graph and switch to Data Laboratory
  2. Select a node, right click and then select "Select on Overview..."
  3. Go back to Overview

Observe that the camera is not centered on the node

Context

The OpenGL engine keeps track of the "global scale" value and need to use it in transformations.

Your Environment

  • Version used: Gephi 0.9.7
  • Operating System: Mac OS
@mbastian mbastian added this to the 0.10.0 milestone Nov 26, 2022
@mbastian mbastian self-assigned this Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant