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

Fixed shape color not changed #5044

Closed
wants to merge 1 commit into from
Closed

Fixed shape color not changed #5044

wants to merge 1 commit into from

Conversation

hyunchan-jung
Copy link

Motivation and context

Related #4966

How has this been tested?

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@@ -681,9 +681,33 @@ export default class CanvasWrapperComponent extends React.PureComponent<Props> {

private updateCanvas(): void {
const {
curZLayer, annotations, frameData, canvasInstance,
curZLayer, annotations, frameData, canvasInstance, colorBy,
Copy link
Member

Choose a reason for hiding this comment

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

Hi,
My general comment is that shape color management should be solved on cvat-canvas level, not cvat-ui.

@bsekachev
Copy link
Member

@hyunchan-jung

Could you please try this one? #5045

@hyunchan-jung
Copy link
Author

@bsekachev

I tried this and it worked.

As you commented, I think it is right to manage on cvat-canvas than on cvat-ui.

It was helpful to me. Thank you.

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