mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Updated Power Green fonts, repositioned all text accordingly
This commit is contained in:
@@ -70,13 +70,13 @@ def pbDisplayMail(mail, _bearer = nil)
|
||||
shadowForLightBG = Color.new(168, 168, 176)
|
||||
if mail.message && mail.message != ""
|
||||
isDark = isDarkBackground(sprites["card"].bitmap, Rect.new(48, 48, Graphics.width - 96, 32 * 7))
|
||||
drawTextEx(overlay, 48, 52, Graphics.width - (48 * 2), 7, mail.message,
|
||||
drawTextEx(overlay, 48, 52, Graphics.width - 94, 7, mail.message,
|
||||
(isDark) ? baseForDarkBG : baseForLightBG,
|
||||
(isDark) ? shadowForDarkBG : shadowForLightBG)
|
||||
end
|
||||
if mail.sender && mail.sender != ""
|
||||
isDark = isDarkBackground(sprites["card"].bitmap, Rect.new(336, 322, 144, 32 * 1))
|
||||
drawTextEx(overlay, 336, 326, 144, 1, mail.sender,
|
||||
drawTextEx(overlay, 336, 328, 144, 1, mail.sender,
|
||||
(isDark) ? baseForDarkBG : baseForLightBG,
|
||||
(isDark) ? shadowForDarkBG : shadowForLightBG)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user