mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[web] Represent CSS identity transforms as 'none' instead of null (flutter/engine#18288)
This commit is contained in:
parent
3f2ced919d
commit
879bb46204
@ -82,7 +82,7 @@ String float64ListToCssTransform(Float32List matrix) {
|
||||
return float64ListToCssTransform3d(matrix);
|
||||
} else {
|
||||
assert(transformKind == TransformKind.identity);
|
||||
return null;
|
||||
return 'none';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user