mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix: Clear the child of the saved specs before clearing them (#131)
* fix: Clear the child of the saved specs before clearing them * chore: Remove second semicolomn
This commit is contained in:
committed by
GitHub
parent
32e59e47d6
commit
0973992350
@@ -226,6 +226,7 @@ public class GridLayout extends LayoutBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void removeFromMap(View child) {
|
private void removeFromMap(View child) {
|
||||||
|
this.map.get(child).child = null;
|
||||||
this.map.remove(child);
|
this.map.remove(child);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -374,7 +375,7 @@ class MeasureSpecs {
|
|||||||
|
|
||||||
public boolean measured = false;
|
public boolean measured = false;
|
||||||
|
|
||||||
public final View child;
|
public View child;
|
||||||
private ItemSpec column;
|
private ItemSpec column;
|
||||||
private ItemSpec row;
|
private ItemSpec row;
|
||||||
private int columnIndex;
|
private int columnIndex;
|
||||||
|
|||||||
Reference in New Issue
Block a user