mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-10 10:40:54 +00:00
minor corrections.
This commit is contained in:
parent
a897cf5945
commit
b45d8d7e3c
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user