remove the hardcoded poll whiteboard position
This commit is contained in:
parent
116c274519
commit
22b7d7bc69
@ -27,8 +27,6 @@ package org.bigbluebutton.modules.whiteboard.business.shapes
|
||||
import org.bigbluebutton.modules.whiteboard.models.Annotation;
|
||||
|
||||
public class PollResultObject extends DrawObject {
|
||||
private const sx:int = 0;
|
||||
private const sy:int = 0;
|
||||
//private const h:uint = 100;
|
||||
//private const w:uint = 280;
|
||||
private const bgFill:uint = 0XCECECE; //0xFFFFFF;
|
||||
@ -81,7 +79,7 @@ package org.bigbluebutton.modules.whiteboard.business.shapes
|
||||
if (_data != null && _data.length > 0) {
|
||||
graphics.lineStyle(2);
|
||||
graphics.beginFill(bgFill, 1.0);
|
||||
graphics.drawRect(sx, sy, unscaledWidth, unscaledHeight);
|
||||
graphics.drawRect(0, 0, unscaledWidth, unscaledHeight);
|
||||
graphics.endFill();
|
||||
|
||||
var actualRH:Number = (unscaledHeight-vpadding*(_data.length+1)) / _data.length;
|
||||
@ -271,6 +269,9 @@ package org.bigbluebutton.modules.whiteboard.business.shapes
|
||||
data = ans;
|
||||
makeTextFields((answers != null ? answers.length*3 : 0));
|
||||
|
||||
this.x = startX;
|
||||
this.y = startY;
|
||||
|
||||
updateDisplayList(pwidth, pheight);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user