1
0
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:
lightest 2024-03-22 23:36:08 +00:00
parent 3ebd48eb70
commit 2d5210e453

View File

@ -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;