comment explaining square fix

This commit is contained in:
mohamed-ahmed 2013-09-30 18:25:20 +00:00
parent 8213272485
commit 8207e1a274

View File

@ -72,7 +72,8 @@ package org.bigbluebutton.modules.whiteboard.business.shapes
if (ao.fill) this.graphics.beginFill(ao.fillColor, ao.transparency ? 0.6 : 1.0);
if (ao.square) {
//calculate what how to draw square in different directions
//from starting point
if(height < 0){
if(width<0)
this.graphics.drawRect(startX, startY, width, width);