@@ -6,16 +6,16 @@ import androidx.compose.ui.node.ParentDataModifierNode
66import androidx.compose.ui.platform.InspectorInfo
77import androidx.compose.ui.unit.Density
88
9- internal class BoxGridRowColumnElement (
9+ internal class BoxGridCellPositionElement (
1010 val row : Int = BoxGridParentData .UNSPECIFIED_ROW ,
1111 val column : Int = BoxGridParentData .UNSPECIFIED_COLUMN ,
1212 val inspectorInfo : InspectorInfo .() -> Unit
13- ) : ModifierNodeElement<BoxGridRowColumnNode >() {
14- override fun create (): BoxGridRowColumnNode {
15- return BoxGridRowColumnNode (row, column)
13+ ) : ModifierNodeElement<BoxGridCellPositionNode >() {
14+ override fun create (): BoxGridCellPositionNode {
15+ return BoxGridCellPositionNode (row, column)
1616 }
1717
18- override fun update (node : BoxGridRowColumnNode ) {
18+ override fun update (node : BoxGridCellPositionNode ) {
1919 node.row = row
2020 node.column = column
2121 }
@@ -27,7 +27,7 @@ internal class BoxGridRowColumnElement(
2727 override fun equals (other : Any? ): Boolean {
2828 if (this == = other) return true
2929 if (other == null ) return false
30- if (other !is BoxGridRowColumnElement ) return false
30+ if (other !is BoxGridCellPositionElement ) return false
3131 return this .row == other.row && this .column == other.column
3232 }
3333
@@ -38,7 +38,7 @@ internal class BoxGridRowColumnElement(
3838 }
3939}
4040
41- internal class BoxGridRowColumnNode (
41+ internal class BoxGridCellPositionNode (
4242 var row : Int ,
4343 var column : Int
4444) : Modifier.Node(), ParentDataModifierNode {
0 commit comments