mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
Update color handling and enhance session management in the Reconciler
- Added 'Name' to the list of excluded property names in the rbx_dom_lua module to prevent unnecessary comparisons. - Updated color handling in the diff stress tests to use Color3.fromRGB for better precision and clarity in color representation. - Improved the hydrate function to initialize a new session if none is provided, enhancing session management during instance hydration. - Refined the trueEquals function to handle NaN comparisons correctly, ensuring accurate equality checks for numeric values. These changes improve the accuracy of property comparisons and enhance the overall functionality of the Reconciler module.
This commit is contained in:
parent
ddd47b9afa
commit
30e032b27e
5 changed files with 15 additions and 11 deletions
|
|
@ -44,6 +44,7 @@ end
|
|||
local EXCLUDED_PROP_NAMES: { [string]: boolean } = {
|
||||
Tags = true,
|
||||
Attributes = true,
|
||||
Name = true,
|
||||
}
|
||||
|
||||
-- Encoded value type keys that cannot be compared during matching.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue