wsick / Fayde

Inspired by Silverlight; XAML engine using Javascript and rendering to the HTML5 Canvas.
MIT License
189 stars 27 forks source link

Writing text to zero-width field causes infinite loop #126

Closed asthomas closed 9 years ago

asthomas commented 9 years ago

The fix is simple. Line 120 of minerva/src/text/run/doLayoutWrap.ts is:

                pass.index = breakIndex;

and should be

                pass.index = start + run.length;
BSick7 commented 9 years ago

Fixed in 0.16.35.