comment explaining square fix
This commit is contained in:
parent
8213272485
commit
8207e1a274
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user