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:
parent
da2d9c5ad7
commit
72e9fe5b0b
@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user