mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix typo in syncRenderObject arguments
This commit is contained in:
parent
fb9a3982c5
commit
d7cc013548
@ -193,7 +193,7 @@ class Align extends OneChildRenderObjectWrapper {
|
||||
RenderPositionedBox createNode() => new RenderPositionedBox(horizontal: horizontal, vertical: vertical);
|
||||
RenderPositionedBox get renderObject => super.renderObject;
|
||||
|
||||
void syncRenderObject(SizedBox old) {
|
||||
void syncRenderObject(Align old) {
|
||||
super.syncRenderObject(old);
|
||||
renderObject.horizontal = horizontal;
|
||||
renderObject.vertical = vertical;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user