Closed andrewjswan closed 5 months ago
This nice addition makes everything to slow:
[13:26:02][W][component:237]: Component display took a long time for an operation (61 ms).
[13:26:02][W][component:238]: Components should block for at most 30 ms.
Yes, it happens. And only once during the first screen display, during the display it does not happen anymore. I think because of Regex.
On short text, or when there are few color changes, this does not happen, for example Default #00FF00Green
works without this message.
We can add a warning in the Readme that performance may decrease. Or not add it.
[!WARNING] In this mode, with a large number of color changes, or with long lines, a short-term decrease in performance is possible.
multicolor_text (optional, boolean): If true, enables text multi color support when displaying text.
Example:
Shows text in different colors,
Test Test
in the default color#FFFFFF
(r: 255, g:255, b: 255), followed byTest
in green#00FF00
, thenTest
in red#FF0000
and finallyTest
in blue#0000FF
.