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

visual/ShapeStim: drop adding opacity attribute in constructor

Not required, because opacity is one of the attributes passed on
to the parent class via super()
This commit is contained in:
Sotiri Bakagiannis 2020-10-06 22:52:14 +01:00
parent da2d9c5ad7
commit 72e9fe5b0b

View File

@ -101,12 +101,6 @@ export class ShapeStim extends util.mix(VisualStim).with(ColorMixin, WindowMixin
1.0,
this._onChange(true, false)
);
this._addAttribute(
'opacity',
opacity,
1.0,
this._onChange(false, false)
);
}