Fixes Text shadows for v5 (#5947)
* Fixes text shadows for v5, take 2
Goes back to v4 style of separate draw calls to make sure all of the drop shadow is underneath all of the text; but this time rather than using the first drawn text as the actual drop shadows, it draws this text off screen, whilst positioning the drop shadow to appear on screen. So we get the drawing order that v4 has with the good native canvas drop shadow looks of v5

* Fixed to work with resolutions other than 1

* Change where fillStyle and strokeStyle are set to avoid ios bug https://bugs.webkit.org/show_bug.cgi?id=197689

* Ensures that the text for the drop shadow is way off-screen
1 parent d659005 commit ce6dcbf0cca25759f2a4bb29eb0c55a4b1774847
@Dave Moore Dave Moore authored on 1 Aug 2019
Matt Karl committed on 1 Aug 2019
Showing 1 changed file
View
packages/text/src/Text.js