Skip to content

add display width and height - #53

Merged
ABKQPO merged 2 commits into
masterfrom
display-width-and-height
Jul 30, 2026
Merged

add display width and height#53
ABKQPO merged 2 commits 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
@ABKQPO
ABKQPO merged commit 3fc874b into master Jul 30, 2026
1 check passed
@ABKQPO
ABKQPO deleted the display-width-and-height branch July 30, 2026 10:19
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