Update antiburn.be (#22386)

Currently anitburn doesn't cover other objects if they are on lv.layer_top, moving it to lv.layer_sys fixes this issue.
This commit is contained in:
smcgann99 2024-10-30 21:05:57 +00:00 committed by GitHub
parent 0ba0b8dada
commit e30d88e013
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ antiburn.init = def (m)
lv.start() lv.start()
if self.antiburn == nil if self.antiburn == nil
var antiburn = lv.obj(lv.layer_top()) var antiburn = lv.obj(lv.layer_sys())
antiburn.set_style_radius(0, 0) antiburn.set_style_radius(0, 0)
antiburn.set_style_border_width(0, 0) antiburn.set_style_border_width(0, 0)
antiburn.set_style_bg_opa(255, 0) antiburn.set_style_bg_opa(255, 0)