mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-11 16:18:10 +00:00
visual/ButtonStim: make sure isClicked tracks left mouse button presses only
This commit is contained in:
parent
335f7dfece
commit
52b53376d8
@ -92,7 +92,7 @@ export class ButtonStim extends TextBox
|
||||
*/
|
||||
get isClicked()
|
||||
{
|
||||
return this.listener.isPressedIn(this);
|
||||
return this.listener.isPressedIn(this, [1, 0, 0]);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user