Browse Source

remove trailing newlines from debug text

Eren Yilmaz 6 years ago
parent
commit
79510ef189
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/view/MainView.java

+ 1 - 1
src/view/MainView.java

@@ -790,7 +790,7 @@ public class MainView {
                 combined.setSize( layne.getWidth() / 3, layne.getHeight() / 3 );
                 combined.setLocation( layne.getWidth() / 3, layne.getHeight() / 3 );
 
-                debugText.setText( algorithm.getDebugString() );
+                debugText.setText( algorithm.getDebugString().trim() );
                 layne.remove( pl );
                 layne.add( pl, 1 );
                 frame.repaint();