[Picross-commit] SF.net SVN: picross: [33] trunk/src/picross/grid/GridUI.java
Status: Pre-Alpha
Brought to you by:
yvan_norsa
From: <yva...@us...> - 2007-06-13 15:04:37
|
Revision: 33 http://picross.svn.sourceforge.net/picross/?rev=33&view=rev Author: yvan_norsa Date: 2007-06-13 08:04:38 -0700 (Wed, 13 Jun 2007) Log Message: ----------- fixed blocks drawing Modified Paths: -------------- trunk/src/picross/grid/GridUI.java Modified: trunk/src/picross/grid/GridUI.java =================================================================== --- trunk/src/picross/grid/GridUI.java 2007-06-12 14:21:43 UTC (rev 32) +++ trunk/src/picross/grid/GridUI.java 2007-06-13 15:04:38 UTC (rev 33) @@ -399,7 +399,7 @@ int i = 1; int currentY = this.topBoundary + boxHeight; - while ((i + GridUI.BLOCK_HEIGHT) < this.height) { + while (i < this.height) { this.blocksLines.add(new Line2D.Double(this.leftBoundary, currentY, this.rightBoundary, @@ -412,7 +412,7 @@ i = 1; int currentX = this.leftBoundary + boxWidth; - while ((i + GridUI.BLOCK_WIDTH) < this.width) { + while (i < this.width) { this.blocksLines.add(new Line2D.Double(currentX, this.topBoundary, currentX, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |