Skip to content

Commit

Permalink
BlInfiniteElement>>repositionShadowingElements removed (not implemented)
Browse files Browse the repository at this point in the history
  • Loading branch information
plantec committed May 23, 2024
1 parent c4980d8 commit 313f0c8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
6 changes: 0 additions & 6 deletions src/Bloc-Infinite/BlInfiniteElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -1251,11 +1251,6 @@ BlInfiniteElement >> removeDetachedChild: anElement [
super removeDetachedChild: anElement
]

{ #category : #'children add/remove' }
BlInfiniteElement >> repositionShadowingElements [
"self shouldBeImplemented"
]

{ #category : #layout }
BlInfiniteElement >> requestLayout: anElement [

Expand Down Expand Up @@ -1344,7 +1339,6 @@ BlInfiniteElement >> scrollByInternal: aDeltaPoint from: anEventPoint [
consumedY := self layout scrollVerticallyBy: aDeltaPoint y.
unconsumedY := aDeltaPoint y - consumedY ].

self repositionShadowingElements.
self onExitLayoutOrScroll.

(consumedX isZero and: [ consumedY isZero ])
Expand Down
2 changes: 1 addition & 1 deletion src/Bloc-Infinite/BlInfiniteScrollFlinger.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ BlInfiniteScrollFlinger >> onInitialized [

{ #category : #hooks }
BlInfiniteScrollFlinger >> onLayoutScrolled [
self scrollable repositionShadowingElements.

self scrollable onExitLayoutOrScroll
]

Expand Down
1 change: 0 additions & 1 deletion src/Bloc-Infinite/BlInfiniteSmoothScroller.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ BlInfiniteSmoothScroller >> stop [
ifFalse: [ ^ self ].

self onStop.
infiniteElement state targetPosition: NoPosition.
targetElement := nil.
targetPosition := NoPosition.
pendingInitialRun := false.
Expand Down

0 comments on commit 313f0c8

Please sign in to comment.