Small fixes

This commit is contained in:
crschnick 2024-02-26 14:09:52 +00:00
parent d75cffd3a3
commit 33432d7822

View file

@ -417,7 +417,7 @@ final class BrowserFileListComp extends SimpleComp {
}
double proximity = 100;
Bounds tableBounds = tableView.localToScene(tableView.getBoundsInParent());
Bounds tableBounds = tableView.localToScene(tableView.getBoundsInLocal());
double dragY = event.getSceneY();
double topYProximity = tableBounds.getMinY() + proximity;
double bottomYProximity = tableBounds.getMaxY() - proximity;