Skip to content

Conversation

@adroitwhiz
Copy link

Description

See paperjs#1825

Related issues

Checklist

  • New tests added or existing tests modified to cover all changes
  • Code conforms with the JSHint rules (npm run jshint passes)

The check was being done backwards-- we should have been checking if
values were less than the current minimum with padding subtracted from
the *values*, and greater than the current maximum with padding added,
but we were subtracting padding from the *minimum* (and adding padding
to the maximum). Instead, we now add padding to the minimum and subtract
it from the maximum, which is equivalent to subtracting padding from the
values when comparing them to the minimum and adding padding to the
values when comparing them to the maximum.
@adroitwhiz
Copy link
Author

@fsih Just wanted to make sure this hadn't fallen off your radar--this fix has already been merged upstream so it shouldn't cause too much trouble here.

@CST1229
Copy link

CST1229 commented Oct 8, 2021

Why hasn't this been merged already? (Looks like this HAS fallen off fsih's radar.)

@adroitwhiz
Copy link
Author

I don't think they're part of the Scratch team anymore

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.

Some ellipses with thick outlines are being cut off by more than a pixel on-stage

3 participants