Merge pull request #2067 from kwagyeman/kwabena/remove_center_args

scripts/examples: Remove old CENTER argument usage.
This commit is contained in:
Ibrahim Abdelkader 2024-01-03 18:06:54 +02:00 committed by GitHub
commit 4c659b9511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -101,7 +101,7 @@ while True:
x_scale=rescale,
y_scale=rescale,
alpha=240,
hint=image.BILINEAR | image.CENTER,
hint=image.BILINEAR
)
status += "alpha:240 "
status += "+mask "
@ -113,7 +113,7 @@ while True:
x_scale=rescale,
y_scale=rescale,
alpha=128,
hint=image.BILINEAR | image.CENTER,
hint=image.BILINEAR
)
status += "alpha:128 "

View File

@ -67,7 +67,7 @@ while True:
y_bounce,
rgb_channel=-1,
alpha=alpha_value // alpha_div,
hint=hint | image.CENTER,
hint=hint
)
x_bounce += x_bounce_toggle

View File

@ -78,7 +78,7 @@ while True:
rgb_channel=-1,
alpha=alpha_value // alpha_div,
color_palette=image.PALETTE_IRONBOW,
hint=hint | image.CENTER,
hint=hint
)
x_bounce += x_bounce_toggle

View File

@ -72,7 +72,7 @@ while True:
rgb_channel=-1,
alpha=alpha_value // alpha_div,
alpha_palette=alpha_lut,
hint=hint | image.CENTER,
hint=hint
)
x_bounce += x_bounce_toggle

View File

@ -83,7 +83,7 @@ while True:
alpha=alpha_value // alpha_div,
color_palette=image.PALETTE_IRONBOW,
alpha_palette=alpha_lut,
hint=hint | image.CENTER,
hint=hint
)
x_bounce += x_bounce_toggle