Skip to content

Commit

Permalink
rename prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoji Chen committed Jun 12, 2019
1 parent 43171c2 commit 5e22183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/apps/partial-update/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class Root extends Component {
coordinateSystem: COORDINATE_SYSTEM.METER_OFFSETS,
coordinateOrigin: MAP_CENTER,
data: points,
dataDiff: isDragging ? diffGeometries : null,
_dataDiff: isDragging ? diffGeometries : null,

getPosition: d => d.position,
getFillColor: d => (isDragging ? [255, 200, 0] : d.color),
Expand All @@ -116,7 +116,7 @@ class Root extends Component {
coordinateSystem: COORDINATE_SYSTEM.METER_OFFSETS,
coordinateOrigin: MAP_CENTER,
data: polygons,
dataDiff: isDragging ? diffGeometries : null,
_dataDiff: isDragging ? diffGeometries : null,
stroked: true,
filled: true,
getPolygon: d => d.polygon,
Expand Down

0 comments on commit 5e22183

Please sign in to comment.