mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-10 10:40:54 +00:00
BF: Initialise ButtonStim with a numClicks
attribute
This commit is contained in:
parent
e9d811e59d
commit
24829683b1
@ -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()}`);
|
||||
|
Loading…
Reference in New Issue
Block a user