From 73529c89931fa0fea0b2977ad125ca8e9d2cae76 Mon Sep 17 00:00:00 2001 From: NightKev <34855794+DayKev@users.noreply.github.com> Date: Thu, 28 Aug 2025 02:41:46 -0700 Subject: [PATCH] Update JSDoc for `Phaser.Math.Wrap` The doc now mentions that it wraps between `min` and `max - 1` instead of between `min` and `max`, to match the behavior of the function --- src/math/Wrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/Wrap.js b/src/math/Wrap.js index 5a14191051..b82d3d4f78 100644 --- a/src/math/Wrap.js +++ b/src/math/Wrap.js @@ -5,7 +5,7 @@ */ /** - * Wrap the given `value` between `min` and `max`. + * Wrap the given `value` between `min` and `max - 1`. * * @function Phaser.Math.Wrap * @since 3.0.0