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

Demo: fixed resizing while maintaining aspect ratio constraint #8028

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

imdongye
Copy link

before version problem:

  1. can't resize vertially with grap corner.
  2. can't resize with grap top and bottom edges.
  3. there is no status value to check which part of the window (corner, edge, etc.) is being used to resize the current window.

Animation

my sollution is using mouse cursor status and aspect ratio of next window size

after version:

Animation2

usage my framebuffer viewport code

@ocornut
Copy link
Owner

ocornut commented Oct 3, 2024

Linking to #6210

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

Successfully merging this pull request may close these issues.

2 participants