Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2012-05-30 11:12:38 +0000 (Wed, 30 May 2012)
Fix bug: Portrait Subtab still not working if there is an error.
--- Trunk/pcgen/code/src/java/pcgen/gui2/tabs/bio/ThumbnailPane.java 2012-05-30 10:01:40 UTC (rev 16801)
+++ Trunk/pcgen/code/src/java/pcgen/gui2/tabs/bio/ThumbnailPane.java 2012-05-30 11:12:38 UTC (rev 16802)
@@ -63,6 +63,21 @@
if (cropRect != null)
+ if ((this.cropRect.x + this.cropRect.width) > portrait.getWidth())
+ this.cropRect.x = portrait.getWidth() - cropRect.width;
+ if ((this.cropRect.y + this.cropRect.height) > portrait.getHeight())
+ this.cropRect.y = portrait.getHeight() - cropRect.height;
+ if (this.cropRect.x < 0 || this.cropRect.y < 0)
+ this.cropRect = null;
+ if (cropRect != null)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Sign up for the SourceForge newsletter: