Skip to content
Snippets Groups Projects
Commit 034ba937 authored by Moemoea Fierin's avatar Moemoea Fierin
Browse files

[CLEANING] Added Comments for more readability

Added origin of the Overrided element in case anyone wants to find them
quickly
parent 213821c7
No related branches found
No related tags found
1 merge request!287Resolve "Zoom on all diagrams"
...@@ -56,12 +56,13 @@ public class TGConnectingPointWidthHeight extends TGConnectingPoint { ...@@ -56,12 +56,13 @@ public class TGConnectingPointWidthHeight extends TGConnectingPoint {
w = _w; w = _w;
h = _h; h = _h;
} }
/* From Interface ui.CDElement*/
@Override @Override
public int getX() { public int getX() {
return scaledX() + container.getX() + (int)(container.getWidth() * w ); return scaledX() + container.getX() + (int)(container.getWidth() * w );
} }
/* From Interface ui.CDElement*/
@Override @Override
public int getY() { public int getY() {
return scaledY() + container.getY() + (int)(container.getHeight() * h); return scaledY() + container.getY() + (int)(container.getHeight() * h);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment