is_cairo_context_nested(): Oops, the condition was backwards.

parent a9ebc8c7
......@@ -113,7 +113,7 @@ impl<'a> DrawingCtx {
}
pub fn is_cairo_context_nested(&self, cr: &cairo::Context) -> bool {
cr.to_raw_none() == self.initial_cr.to_raw_none()
cr.to_raw_none() != self.initial_cr.to_raw_none()
}
pub fn get_cr_stack(&self) -> &Vec<cairo::Context> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment