Skip to content

DO NOT MERGE Ratio resize bug - #747

Draft
lawsie wants to merge 3 commits into
flipcomputing:mainfrom
lawsie:ratio-resize-bug
Draft

DO NOT MERGE Ratio resize bug#747
lawsie wants to merge 3 commits into
flipcomputing:mainfrom
lawsie:ratio-resize-bug

Conversation

@lawsie

@lawsie lawsie commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Don't merge this, just for info

While testing I found a bug:

  • In a new project add a flat square object
  • Select the resize gizmo
  • Press the + button once to increase X size then the - button once to reset it, check that the block still has equal numbers for the side sizes
  • Select uniform resize
  • Make the square larger and smaller using the HUD.

Eventually it will become non-square as the sizes get out of sync. I am pretty sure that this is to do with the resizing calculations being rounded floating point numbers and eventually the rounding errors catching up. I tried to fix this here but I don’t think that this is the right way to do it as it has lots of knock-on effects to do with textures and rotations.

@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 70a7872e-8c0e-40fc-b407-28b28b839f12

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant