Skip to content

Update background color#1014

Merged
doutriaux1 merged 2 commits intoCDAT:masterfrom
chaosphere2112:update_background_color
Feb 10, 2015
Merged

Update background color#1014
doutriaux1 merged 2 commits intoCDAT:masterfrom
chaosphere2112:update_background_color

Conversation

@chaosphere2112
Copy link
Copy Markdown
Contributor

If you update canvas.backgroundcolor after rendering and do canvas.update(), the canvas' background color does not update. Added tests for that, and fixed the bug. I'm up for moving the fix to a different place, but the backend.clear() function was the most convenient location (since there was already an if statement that separated out the specific renderer I was looking to update, and gets called during every update()). Incoming PR for uvcdat-testdata to provide the images as well.

@aashish24
Copy link
Copy Markdown
Contributor

@chaosphere2112 can we have bit more interest test?

@doutriaux1
Copy link
Copy Markdown
Contributor

@aashish24 boringcan be good sometimes! @chaosphere2112 I do not like your yellow, but I will approve anyway.

doutriaux1 added a commit that referenced this pull request Feb 10, 2015
@doutriaux1 doutriaux1 merged commit 7b363f4 into CDAT:master Feb 10, 2015
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.

3 participants