boxy icon indicating copy to clipboard operation
boxy copied to clipboard

BoxyId example mistake

Open Nikzed opened this issue 3 months ago • 0 comments

Hey, I just started to read your documentation on Boxy and found out the Size you are returning in BoxyId Example has the next code

    return Size(
      max(helloSize.width, worldSize.height),
      helloSize.height + worldSize.height,
    );

which I believe could be incorrect, depending on that you're adding helloSize width and worldSize height.

I believe the first parameter in Size should be width, and it will look like this:

max(helloSize.width, worldSize.width)

Thanks!

Nikzed avatar Nov 14 '25 22:11 Nikzed