Upgrade other uses of image manipulators

(cherry picked from commit a9dc195379)
This commit is contained in:
Gouvernathor 2023-11-15 02:02:50 +01:00 committed by LoafyLemon
parent 0e4fccfa26
commit 3b4db03a6c
2 changed files with 3 additions and 3 deletions

View File

@ -701,7 +701,7 @@ label hg_wager_bj_secret:
screen hg_wager_bj_secret(): screen hg_wager_bj_secret():
zorder 4 zorder 4
add im.MatrixColor("images/rooms/overlays/g_circular.webp", im.matrix.saturation(0.0)*im.matrix.brightness(0.7)) add Transform("images/rooms/overlays/g_circular.webp", matrixcolor=BrightnessMatrix(.7)*SaturationMatrix(.0))
text "Replay" pos (50, 50) size 40 color "#FFF" outlines [(5, "#000", 0, 0)] at blink text "Replay" pos (50, 50) size 40 color "#FFF" outlines [(5, "#000", 0, 0)] at blink

View File

@ -137,7 +137,7 @@ screen book_menu(page, pages, title, page_title, page_text, page_overflow):
xalign 1.0 xalign 1.0
# Next # Next
if page < pages: if page < pages:
idle im.Alpha("interface/book/hover.webp", 0) idle Transform("interface/book/hover.webp", alpha=0)
hover "interface/book/hover.webp" hover "interface/book/hover.webp"
action Return("next") action Return("next")
# Fast Back to start # Fast Back to start
@ -151,7 +151,7 @@ screen book_menu(page, pages, title, page_title, page_text, page_overflow):
imagebutton: imagebutton:
pos (242, 100) pos (242, 100)
ysize 400 ysize 400
idle im.Alpha(Transform("interface/book/hover.webp", xzoom=-1.0), 0) idle Transform("interface/book/hover.webp", xzoom=-1.0, alpha=0)
hover Transform("interface/book/hover.webp", xzoom=-1.0) hover Transform("interface/book/hover.webp", xzoom=-1.0)
action Return("prev") action Return("prev")