From 537f4ac57ae2b34f0a04fa63874c8ca6534c9a6d Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Tue, 20 Aug 2019 02:31:25 -0400 Subject: [PATCH] Faster JPG reader. --- cToggleButton.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cToggleButton.java b/cToggleButton.java index a9a562a..06b84ac 100644 --- a/cToggleButton.java +++ b/cToggleButton.java @@ -37,7 +37,7 @@ //if (getWidth() > image.getWidth(null) + 8) { g.drawImage(image, this.getWidth()/2 - 12, this.getHeight()/2 - 12, this); - g.drawRect(0, 0, this.getWidth()-1, this.getHeight()-1); + g.drawRect(2, 2, this.getWidth()-5, this.getHeight()-5); } } } -- Gitblit v1.6.2