mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[python] ColorParser: add a TODO
This commit is contained in:
committed by
LeaNumworks
parent
8f5fa50f22
commit
1b0b9e48f5
@@ -212,6 +212,7 @@ KDColor MicroPython::ColorParser::ParseColor(mp_obj_t input, ColorMode ColorMode
|
||||
}
|
||||
|
||||
if(color[0] == '#'){
|
||||
// TODO handle #abc as #aabbcc (see matplotlib spec)
|
||||
if(l != 7){
|
||||
mp_raise_ValueError("RGB hex values are 6 bytes long");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user