How to hide an obj on transparent background(disp->act_scr)?


Because I wish to put the icon on video,so I set the default srceen to transparent in func lv_disp_drv_register(), like as below:

lv_obj_set_style(disp->act_scr, &lv_style_transp);

But, after that, It cannot hide the obj with API lv_obj_set_hidden(obj, true).

If comment out this line, lv_obj_set_hidden is OK.

What should I do?


I’ve tested it and it works for me. Can you send a code snippet to reproduce the issue?