Number fields drop trailing zeros: formatNumber still rounds to at most 3 decimals and then removes zeros at the end, so 100.000 reads 100 and 0.500 reads 0.5, everywhere (inspector, graph and shader nodes, duration and fps in the animation and tile tabs); a field's own decimals is now an upper limit, stored values are unchanged, -0 still shows as 0, and the graph's separate integer rule is gone (#172)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
47eea2f6e4
commit
4f546c0e08
6 files changed
+36
-17
No files matched your search
@@ -46,7 +46,10 @@ export async function structVariable(t) {
|
||||
// 22a. The declaration is what the inspector draws: a head that can add fields, a row per field.
|
||||
check('a struct variable carries the add-a-field control', (await find('+ Field')) !== null);
|
||||
check('and a row for each declared field', (await find('x')) !== null && (await find('tag')) !== null);
|
||||
check('whose value is shown, not a summary of the bundle', (await find('30.000')) !== null);
|
||||
check(
|
||||
'whose value is shown, not a summary of the bundle',
|
||||
(await find('30')) !== null && (await find('30.000')) === null,
|
||||
);
|
||||
const assetLefts = await leftsOf(['Name', 'Run in editor', 'x', 'tag']);
|
||||
check(
|
||||
'a field value starts on the same column as every other row',
|
||||
|
||||
Reference in new issue
Block a user