Skip to content

Commit

Permalink
Fix show(item, region).
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasMikula committed Feb 24, 2015
1 parent 8a9cc40 commit ff0e392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/fxmisc/flowless/Navigator.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private void itemsChanged(QuasiListChange<?> ch) {

void showLengthRegion(int itemIndex, double fromY, double toY) {
setTargetPosition(new MinDistanceTo(
itemIndex, Offset.fromStart(fromY), Offset.fromEnd(toY)));
itemIndex, Offset.fromStart(fromY), Offset.fromStart(toY)));
}

@Override
Expand Down

0 comments on commit ff0e392

Please sign in to comment.