Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Save/restore the ctx during renderTopLayer(). (fabricjs#5392)
Previously, the line dash setting could be left enabled within _drawSelection() [which is called by renderTopLayer()], which could cause subsequent user-side line stroke calls on the top canvas to be dashed when they weren't explicitly specified to be by the user. See http://jsfiddle.net/qtb4prok/ for a repro.
- Loading branch information