Projects > cpp > Issues > Bug #2532

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

[Android] Stroke font color with channel color values other than 255 doesn't take effect

Bug #2532 [Closed]
dumganhar 2013-08-16 02:31 . Updated almost 10 years ago

Fixed at https://github.com/cocos2d/cocos2d-x/pull/3411
When stroke color is set to values like #C261BD it becomes black due to bad casting.

paintStroke.setARGB(255, (int)strokeR * 255, (int)strokeG * 255, (int)strokeB * 255); 

needs to be

paintStroke.setARGB(255, (int) (strokeR * 255), (int) (strokeG * 255), (int) (strokeB * 255));
dumganhar 2013-08-16 03:30
  • Status changed from New to Resolved
zhangxm 2013-08-22 03:33
  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
ionliga 2014-11-28 14:51

The optimization introduces a bug where the priority and Touch Mode will not get changed if the list is locked.
The most straight forward fix is to merge the pHandlersToAdd and pHandlersToRemove into a queue and process through all of them in the order they are received

Pokerstar88.com Agen Texas Poker dan Domino Online Indonesia Terpercaya | Agen Bola | Taruhan Bola | Agen Bola | Olb365.com Agen Judi Bola Online, Agen Judi Casino Online Indonesia Terpercaya | Jasa SEO | Agen Sbobet

Atom PDF

Status:Closed
Start date:2013-08-16
Priority:Normal
Due date:
Assignee:dumganhar
% Done:

100%

Category:android
Target version:3.0-alpha0