|
@@ -555,8 +555,7 @@ public class MyCanvas extends JPanel implements MouseListener, MouseMotionListen
|
|
// Border Highlighting
|
|
// Border Highlighting
|
|
if (showedInformation[3]) {
|
|
if (showedInformation[3]) {
|
|
g2.setColor(cps.getBorderColor());
|
|
g2.setColor(cps.getBorderColor());
|
|
- if (!(cps instanceof CpsNode)){
|
|
|
|
- //if (g2.getColor() != Color.WHITE) {
|
|
|
|
|
|
+ if (g2.getColor() != Color.WHITE && !(cps instanceof CpsNode)) {
|
|
g2.fillRect((int) (cps.getPosition().x - controller.getScaleDiv2() - scalediv20 - 3),
|
|
g2.fillRect((int) (cps.getPosition().x - controller.getScaleDiv2() - scalediv20 - 3),
|
|
(int) (cps.getPosition().y - controller.getScaleDiv2() - scalediv20 - 3),
|
|
(int) (cps.getPosition().y - controller.getScaleDiv2() - scalediv20 - 3),
|
|
(int) (controller.getScale() + ((scalediv20 + 3) * 2)),
|
|
(int) (controller.getScale() + ((scalediv20 + 3) * 2)),
|