@@ -206,10 +206,10 @@ class DFlexPositionUpdater {
206
206
this . isParentLocked = false ;
207
207
}
208
208
209
- private setDistanceBtwPositions (
210
- element : DFlexElement ,
209
+ private _setDistanceBtwPositions (
211
210
axis : Axis ,
212
- elmDirection : Direction
211
+ elmDirection : Direction ,
212
+ element : DFlexElement
213
213
) {
214
214
const { occupiedPosition, draggedElm } = this . draggable ;
215
215
@@ -249,16 +249,16 @@ class DFlexPositionUpdater {
249
249
this . draggable . gridPlaceholder . clone ( grid ) ;
250
250
}
251
251
252
- private updateIndicators (
253
- element : DFlexElement ,
252
+ private _updateIndicators (
254
253
axis : Axis ,
255
- elmDirection : Direction
254
+ elmDirection : Direction ,
255
+ element : DFlexElement
256
256
) {
257
257
this . elmTransition . setAxes ( 0 , 0 ) ;
258
258
this . draggedTransition . setAxes ( 0 , 0 ) ;
259
259
this . draggedPositionOffset . setAxes ( 0 , 0 ) ;
260
260
261
- this . setDistanceBtwPositions ( element , axis , elmDirection ) ;
261
+ this . _setDistanceBtwPositions ( axis , elmDirection , element ) ;
262
262
this . updateDraggable ( element , elmDirection ) ;
263
263
}
264
264
@@ -482,7 +482,7 @@ class DFlexPositionUpdater {
482
482
483
483
const elmDirection : Direction = isIncrease ? - 1 : 1 ;
484
484
485
- this . updateIndicators ( element , axis , elmDirection ) ;
485
+ this . _updateIndicators ( axis , elmDirection , element ) ;
486
486
487
487
// TODO: always true for the first element
488
488
if ( ! this . isParentLocked ) {
0 commit comments