From 3d328c1d42208ab95915736380dfa7f860528187 Mon Sep 17 00:00:00 2001 From: Micah <48431591+nezuo@users.noreply.github.com> Date: Wed, 31 Dec 2025 11:58:43 -0800 Subject: [PATCH] Remove print --- plugin/src/Reconciler/diff.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/src/Reconciler/diff.lua b/plugin/src/Reconciler/diff.lua index f9d89372..5cafe0e5 100644 --- a/plugin/src/Reconciler/diff.lua +++ b/plugin/src/Reconciler/diff.lua @@ -89,6 +89,10 @@ local function trueEquals(a, b): boolean end return true + -- For NaN, check if both values are not equal to themselves + elseif a ~= a and b ~= b then + return true + -- For numbers, compare with epsilon of 0.0001 to avoid floating point inequality elseif typeA == "number" and typeB == "number" then return fuzzyEq(a, b, 0.0001)