Skip to content
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

Very long text loses custom color #36

Closed
nadavhart opened this issue Aug 26, 2013 · 2 comments
Closed

Very long text loses custom color #36

nadavhart opened this issue Aug 26, 2013 · 2 comments

Comments

@nadavhart
Copy link

Hey,

First of all - incredible control, thank you very much!

I've used MarqueeLabel to present a long line of text in continuos mode with a custom text color, and noticed that at end of every cycle of the first sub-label the text reverts to black.

As far as I can tell, this happens because the custom color is not being set to the second sub label created. I have to admit that I didn't get to the root of this, but fixed it for now locally by adding "sl.textColor = self.textColor;" after line 331.

@cbpowell
Copy link
Owner

Glad it's helpful, and good catch!

Check out commit 8560c87 on the dev branch, which I think fixes this. Looks like your problem would have occurred with both attributed and normal strings.

@cbpowell
Copy link
Owner

Believe I've fixed this with release 1.2.3. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants