Skip to content

Commit 74cec28

Browse files
authored
Merge pull request #6448 from IllianiCBT/beGoneDebugDot
Disabled StratCon Debug Mouse-Click Visualization
2 parents 3c1e90e + 62664e5 commit 74cec28

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

MekHQ/src/mekhq/gui/StratconPanel.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,10 +344,12 @@ public void paintComponent(Graphics g) {
344344
drawForces(g2D);
345345

346346
g2D.setTransform(initialTransform);
347-
if (clickedPoint != null) {
348-
g2D.setColor(BLUE);
349-
g2D.drawRect((int) clickedPoint.getX(), (int) clickedPoint.getY(), 2, 2);
350-
}
347+
// Enable this code to get a little blue dot wherever you click on the StratCon map. This is useful to
348+
// confirm whether mouse-clicks are being recognized.
349+
// if (clickedPoint != null) {
350+
// g2D.setColor(BLUE);
351+
// g2D.drawRect((int) clickedPoint.getX(), (int) clickedPoint.getY(), 2, 2);
352+
// }
351353
}
352354

353355
/**

0 commit comments

Comments
 (0)