-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash changing Label color #45
Comments
Not a fix, this reverts to the situation in #40 The problem manifests around layout line 977, but comes from elsewere. Just before 977 put two lines print(" >>>> type(colors_iter):", type(colors_iter))
raise RuntimeException running the two bugdemos (I used the cocos ones, you can use the pyglet ones) I got
The problem is that both pyglet classes |
Thanks for digging into this Claudio, I'll see if I can fix this up a bit later. |
I think a simple way to fix the issue would be to add If you have a moment, could you see if that would fix it? We would also want to change the |
With the suggested change (add self.end = length in ConstRunIterator and write line 977 in the .end styles) both scripts don't traceback, and seems to work as expected (visual apreciation) |
Thanks Claudio, I'll push this in today. I think we can get a new point release out soon. |
Hi Ben.
The fix to #40, traceback while changing HTMLLabel color, broke the same thing for Label
Repro: take the HTML bugdemo, replace HTMLLabel with Label, run.
I got the traceback
win 7-64, python 3.7
pyglet
from github master
commit ebe94a0
Date: Fri Aug 16 16:55:35 2019 +0900
Tweaked Travis-CI due to OSX breakage.
In cocos I will track both problems in the same issue, los-cocos/cocos#322
The text was updated successfully, but these errors were encountered: