Skip to content

add display width and height - #53

Open
ABKQPO wants to merge 1 commit into
masterfrom
display-width-and-height
Open

add display width and height#53
ABKQPO wants to merge 1 commit into
masterfrom
display-width-and-height

Conversation

@ABKQPO

@ABKQPO ABKQPO commented Jul 24, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds displayWidth and displayHeight for sizing FloatingImage in pixels
  • width and height now remain dedicated to crop rectangles. For simple stretching, decimal scaleX / scaleY values were unnecessarily awkward
  • One display dimension preserves the image ratio; providing both allows intentional stretching

Checklist

  • I have tested this PR in DevEnv
  • I have tested this PR in Fullpack
  • This PR is in compliance with the GTNH AI Policy
  • This PR requires another PR in order to merge

add a configurable option to display width and height in pixels instead of scale factor
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