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

Expose shell to canvas::Program to match shader::Program. #2609

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dtzxporter
Copy link
Contributor

Allows a canvas program to schedule redraws as needed without managing it externally.

This matches the more powerful shader::Program update method now.

Allows a canvas program to schedule redraws as needed without managing it externally.
@bbb651
Copy link
Contributor

bbb651 commented Sep 29, 2024

For both of them, is there a reason Option<Message> is still needed into the return value if you have access to Shell? It's strictly more powerful because you can publish more than one message, and for other cases it seems unnecessary to have two ways to do the same thing. Widget already works like this, returning only Status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants