Starting from 2021-07-01, all LRZ GitLab users will be required to explicitly accept the GitLab Terms of Service. Please see the detailed information at https://doku.lrz.de/display/PUBLIC/GitLab and make sure that your projects conform to the requirements.

Commit 790cd246 authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier
Browse files

Merge branch 'master' into salient_behavior

parents ab3b776c 2925c5ab
......@@ -21,6 +21,7 @@ public class DefaultModeAdapter implements IMode {
@Override
public void mouseClicked(final MouseEvent event) {
panelModel.setMousePosition(event.getPoint());
panelModel.setSelectedElement(panelModel.getMousePosition());
panelModel.notifyObservers();
}
......@@ -64,7 +65,6 @@ public class DefaultModeAdapter implements IMode {
@Override
public void mouseMoved(MouseEvent e) {
panelModel.setMousePosition(e.getPoint());
panelModel.setSelectedElement(panelModel.getMousePosition());
panelModel.notifyObservers();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment