Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visual/VisualStim: Enable pixi updates when setting opacity #203

Merged
merged 4 commits into from Apr 9, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 0 additions & 6 deletions js/visual/ShapeStim.js
Expand Up @@ -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)
);
}


Expand Down
2 changes: 1 addition & 1 deletion js/visual/VisualStim.js
Expand Up @@ -64,7 +64,7 @@ export class VisualStim extends util.mix(MinimalStim).with(WindowMixin)
'opacity',
opacity,
1.0,
this._onChange(false, false)
this._onChange(true, false)
);
this._addAttribute(
'depth',
Expand Down