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 context.restore when there is no stack of saves #316

Closed
wants to merge 1 commit into from

Conversation

GothAck
Copy link

@GothAck GothAck commented Aug 13, 2013

Context.restore on a freshly resized canvas broke drawing to the canvas, it seems cairo was always saving and restoring, even when there was no need. This has fixed issues using vanilla flot 0.8.1 :)

Context.restore on a freshly resized canvas broke drawing to the canvas, it seems cairo was always saving and restoring, even when there was no need. This has fixed issues using vanilla flot 0.8.1 :)
@kangax
Copy link
Collaborator

kangax commented Sep 21, 2014

@rvagg mind taking a look at this?

@rvagg
Copy link
Contributor

rvagg commented Sep 22, 2014

code looks fine, no idea about the logic, @GothAck is it possible to include one or two minor tests for this to (1) prove the problem exists and (2) protect against future regressions?

@olivierrr
Copy link

Is this still an issue? it seems to be happening on 1.2.1

@LinusU
Copy link
Collaborator

LinusU commented Aug 10, 2015

@olivierrr What exactly is the problem that is occurring, would it be possible to write a test case for this?

@zbjornson zbjornson mentioned this pull request Sep 11, 2016
@LinusU
Copy link
Collaborator

LinusU commented Oct 31, 2016

Fixed by #810

@LinusU LinusU closed this Oct 31, 2016
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

5 participants