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

BF: Initialise ButtonStim with a numClicks attribute

This commit is contained in:
Todd 2022-03-04 13:29:56 +00:00
parent e9d811e59d
commit 24829683b1

View File

@ -104,6 +104,11 @@ export class ButtonStim extends TextBox
[],
);
this._addAttribute(
"numClicks",
0,
);
if (this._autoLog)
{
this._psychoJS.experimentLogger.exp(`Created ${this.name} = ${this.toString()}`);