Showing
2 changed files
with
3 additions
and
1 deletions
... | ... | @@ -219,6 +219,7 @@ function _M:init(title, w, h, x, y, alpha, font, showup, skin) |
219 | 219 | b5 = "ui/dialogframe_5.png", |
220 | 220 | shadow = conf.frame_shadow, |
221 | 221 | a = conf.frame_alpha or 1, |
222 | + darkness = conf.frame_darkness or 1, | |
222 | 223 | particles = table.clone(conf.particles, true), |
223 | 224 | } |
224 | 225 | self.frame.ox1 = self.frame.ox1 or conf.frame_ox1 |
... | ... | @@ -659,7 +660,7 @@ function _M:toScreen(x, y, nb_keyframes) |
659 | 660 | |
660 | 661 | -- Draw the frame and shadow |
661 | 662 | if self.frame.shadow then self:drawFrame(x + self.frame.shadow.x, y + self.frame.shadow.y, 0, 0, 0, self.frame.shadow.a) end |
662 | - self:drawFrame(x, y, 1, 1, 1, self.frame.a) | |
663 | + self:drawFrame(x, y, self.frame.darkness, self.frame.darkness, self.frame.darkness, self.frame.a) | |
663 | 664 | |
664 | 665 | -- Title |
665 | 666 | if self.title then | ... | ... |
-
Please register or login to post a comment