Commit 0c3c6e6a authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Andreas Traczyk

fix: remove unbalanced saveGraphicsState

Each time saveGraphicsState must be called in pair with
restoreGraphicsState. Otherwise it could cause unexpected behaviour
(crash during call on macOS 10.14)

Change-Id: If7a10671c84bb4dd4fd67541fcaa3237ee66abe4
Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <>
parent c17db8da
......@@ -175,7 +175,6 @@
[bottomRightPath appendBezierPathWithPoints:pointArrayBottom count:3];
[bottomRightPath appendBezierPathWithArcFromPoint: bottomLeft toPoint: bottom radius: 20.0f];
[bottomRightPath fill];
[NSGraphicsContext saveGraphicsState];
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