1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-10 18:50:54 +00:00

minor corrections.

This commit is contained in:
lightest 2024-03-29 20:59:23 +00:00
parent a897cf5945
commit b45d8d7e3c
2 changed files with 2 additions and 1 deletions

View File

@ -335,7 +335,7 @@ export class MovieStim extends VisualStim
*/ */
setPos(pos, log = false) setPos(pos, log = false)
{ {
super.setPos(pos); super.setPos(pos, log);
// if (this._youtubePlayer !== undefined && this._ytPlayerIsReady) // if (this._youtubePlayer !== undefined && this._ytPlayerIsReady)
if (this._youtubePlayer !== undefined) if (this._youtubePlayer !== undefined)
{ {

View File

@ -393,6 +393,7 @@ export class VisualStim extends util.mix(MinimalStim).with(WindowMixin)
{ {
anchor[0] = 1.0; anchor[0] = 1.0;
} }
if (anchorText.indexOf("top") > -1) if (anchorText.indexOf("top") > -1)
{ {
anchor[1] = 0.0; anchor[1] = 0.0;