aboutsummaryrefslogtreecommitdiff
path: root/example/init
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2023-01-08 15:25:16 +0100
committerIsaac Freund <mail@isaacfreund.com>2023-01-08 15:25:16 +0100
commitf370202b685eb9e9ddeda50acfb06179f9fc82c4 (patch)
tree052bf7b83e859bf304d30605b0f6a57edeab735e /example/init
parent4dd02358d92050ad55f7b3c095d8a2ea0f94f607 (diff)
downloadriver-f370202b685eb9e9ddeda50acfb06179f9fc82c4.tar.gz
river-f370202b685eb9e9ddeda50acfb06179f9fc82c4.tar.xz
render: fix rounding for fractional scaling
We currently scale the width/height of rectangles based on the scaled x/y instead of the unscaled x/y. This however leads to inconsistent width/height due to rounding. Fix this bug by basing width/height scaling off of the original x/y. Furthermore, fix a typo where we scaled the height off of the x coordinate instead of the y coordinate.
Diffstat (limited to 'example/init')
0 files changed, 0 insertions, 0 deletions