Skip to content
Snippets Groups Projects
Commit 0c3c6e6a authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Andreas Traczyk
Browse files

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: default avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent c17db8da
No related branches found
No related tags found
No related merge requests found
......@@ -175,7 +175,6 @@
[bottomRightPath appendBezierPathWithPoints:pointArrayBottom count:3];
[bottomRightPath appendBezierPathWithArcFromPoint: bottomLeft toPoint: bottom radius: 20.0f];
[bottomRightPath fill];
[NSGraphicsContext saveGraphicsState];
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment