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

fix(core): support view.clear #8665

Merged
merged 1 commit into from Mar 15, 2024
Merged

fix(core): support view.clear #8665

merged 1 commit into from Mar 15, 2024

Conversation

Pessimistress
Copy link
Collaborator

For #8582 fixes the minimap example

Change List

  • Clear viewport

@coveralls
Copy link

Coverage Status

coverage: 86.426% (+0.004%) from 86.422%
when pulling b0118f1 on x/view-clear
into 61dd3a8 on master.

// },
// () => clear(device, clearOpts)
// );
const clearOpts = view.props.clear === true ? {color: true, depth: true} : view.props.clear;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth typing props.clear to true | Parameters<clearWebGL>[0]?

@Pessimistress Pessimistress merged commit 04fc4ad into master Mar 15, 2024
4 checks passed
@Pessimistress Pessimistress deleted the x/view-clear branch March 15, 2024 20:02
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.

None yet

3 participants