You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Invert colors since black text logo is used
This commit is contained in:
@@ -19,7 +19,7 @@ def init_rootscreen():
|
||||
try:
|
||||
img = lv.image(screen)
|
||||
img.set_src(logo_url)
|
||||
if _is_light_mode:
|
||||
if not _is_light_mode:
|
||||
img.set_blend_mode(lv.BLEND_MODE.DIFFERENCE) # invert the logo color
|
||||
img.center()
|
||||
except Exception as e: # if image loading fails
|
||||
|
||||
Reference in New Issue
Block a user