removed small black box and rect drawing (they were for debugging)

This commit is contained in:
Bjorn Pijnacker 2021-02-23 19:26:31 +01:00
parent fb4ae18242
commit ddee747b52
No known key found for this signature in database
GPG Key ID: 68CC60CD9AC50D72
1 changed files with 0 additions and 2 deletions

View File

@ -52,8 +52,6 @@ public class AttributeViewModel implements ViewModel {
Point offset = g.getClipBounds().getLocation();
g.translate(offset.x, offset.y);
Dimension viewportSize = g.getClipBounds().getSize();
g.drawRect(0, 0, viewportSize.width, viewportSize.height);
g.fillRect(-5, -5, 10, 10);
double diagonal_slope = (double) viewportSize.width / (double) viewportSize.height;
double perp_slope = -1f / diagonal_slope;