mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-10 10:40:54 +00:00
added size update.
This commit is contained in:
parent
3ebd48eb70
commit
2d5210e453
@ -487,6 +487,7 @@ export class DotStim extends VisualStim
|
|||||||
// this._needPixiUpdate = false;
|
// this._needPixiUpdate = false;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
this._size_px = util.to_px(this._size, this.units, this.win);
|
||||||
this._pixi.zIndex = -this._depth;
|
this._pixi.zIndex = -this._depth;
|
||||||
this.opacity = this._opacity;
|
this.opacity = this._opacity;
|
||||||
this.anchor = this._anchor;
|
this.anchor = this._anchor;
|
||||||
|
Loading…
Reference in New Issue
Block a user