diff options
Diffstat (limited to 'src/main/ui/BrowserCanvas.java')
-rw-r--r-- | src/main/ui/BrowserCanvas.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/ui/BrowserCanvas.java b/src/main/ui/BrowserCanvas.java index 2a77442..86ccd58 100644 --- a/src/main/ui/BrowserCanvas.java +++ b/src/main/ui/BrowserCanvas.java @@ -29,7 +29,7 @@ public class BrowserCanvas extends JPanel { private void renderHtml(ArrayList<Node> html, Graphics g, Point location) { for (Node node : html) { if (node instanceof TextNode) { - if (!node.getData().isBlank()) { + if (node.getData().length() > 5) { g.drawString(node.getData(), location.x, location.y); location.translate(0, 20); } |