Skip to content

Commit

Permalink
Fix for popovers.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemmermann committed Sep 29, 2022
1 parent e24a54b commit b63ed17
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ protected DateControl() {
Callback<EntryDetailsParameter, Boolean> detailsCallback = getEntryDetailsCallback();
if (detailsCallback != null) {
ContextMenuEvent ctxEvent = param.getContextMenuEvent();
EntryDetailsParameter entryDetailsParam = new EntryDetailsParameter(ctxEvent, DateControl.this, entryView.getEntry(), entryView, getScene().getRoot(), ctxEvent.getScreenX(), ctxEvent.getScreenY());
EntryDetailsParameter entryDetailsParam = new EntryDetailsParameter(ctxEvent, DateControl.this, entryView.getEntry(), entryView, entryView, ctxEvent.getScreenX(), ctxEvent.getScreenY());
detailsCallback.call(entryDetailsParam);
}
});
Expand Down Expand Up @@ -742,7 +742,7 @@ private void doEditEntry(Entry<?> entry) {
Point2D location = entryView.localToScreen(0, 0);

Callback<EntryDetailsParameter, Boolean> callback = getEntryDetailsCallback();
EntryDetailsParameter param = new EntryDetailsParameter(null, this, entry, entryView, getScene().getRoot(), location.getX(), location.getY());
EntryDetailsParameter param = new EntryDetailsParameter(null, this, entry, entryView, entryView, location.getX(), location.getY());
callback.call(param);
}
});
Expand Down

0 comments on commit b63ed17

Please sign in to comment.