Skip to content

Commit

Permalink
Fix caching for protegeproject#723
Browse files Browse the repository at this point in the history
in MList the method getMousePosition() was cached, but OWLCellRenderer
calls getMousePosition(boolean) that was not cached
  • Loading branch information
ykazakov committed Jan 18, 2019
1 parent 5006baa commit 67623e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ private void setupLinkedObjectComponent(JComponent component, Rectangle cellRect
}
if (component instanceof LinkedObjectComponent && OWLRendererPreferences.getInstance().isRenderHyperlinks()) {
linkedObjectComponent = (LinkedObjectComponent) component;
Point mouseLoc = component.getMousePosition(true);
Point mouseLoc = component.getMousePosition();
if (mouseLoc == null) {
linkedObjectComponent.setLinkedObject(null);
return;
Expand Down

0 comments on commit 67623e6

Please sign in to comment.