This commit is contained in:
Insality
2025-11-10 23:12:00 +02:00
parent ed24fc35d5
commit 6782a7f46b
3 changed files with 3 additions and 13 deletions

2
.gitignore vendored
View File

@@ -17,3 +17,5 @@ manifest.private.der
manifest.public.der manifest.public.der
/.editor_settings /.editor_settings
/.deployer_cache /.deployer_cache
deployer_version_settings.ini

View File

@@ -2,7 +2,7 @@
bob_folder=./ bob_folder=./
# You can point bob version for project in format "filename:sha" # You can point bob version for project in format "filename:sha"
bob_sha=":868769ba7a3458db12d149188bf3be80a339a85c" bob_sha="1_11_2:cddb6eb43c32e4930257fcbbb30f19cf28deb081"
# Select Defold channel. Values: stable, beta, alpha # Select Defold channel. Values: stable, beta, alpha
bob_channel="stable" bob_channel="stable"

View File

@@ -106,12 +106,6 @@ return function()
-- Test shadow tag with named color -- Test shadow tag with named color
local words = rich_text:set_text("<shadow=#000000>Shadowed Text</shadow>") local words = rich_text:set_text("<shadow=#000000>Shadowed Text</shadow>")
assert(#words > 0)
assert(words[1].shadow ~= nil)
-- Test shadow tag with RGBA values
words = rich_text:set_text("<shadow=0,0,0,1.0>Shadowed Text</shadow>")
assert(#words > 0) assert(#words > 0)
assert(words[1].shadow ~= nil) assert(words[1].shadow ~= nil)
assert(words[1].shadow.x < 0.1) -- Black shadow should have low RGB values assert(words[1].shadow.x < 0.1) -- Black shadow should have low RGB values
@@ -131,12 +125,6 @@ return function()
-- Test outline tag with named color -- Test outline tag with named color
local words = rich_text:set_text("<outline=#000000>Outlined Text</outline>") local words = rich_text:set_text("<outline=#000000>Outlined Text</outline>")
assert(#words > 0)
assert(words[1].outline ~= nil)
-- Test outline tag with RGBA values
words = rich_text:set_text("<outline=0,0,0,1.0>Outlined Text</outline>")
assert(#words > 0) assert(#words > 0)
assert(words[1].outline ~= nil) assert(words[1].outline ~= nil)
assert(words[1].outline.x < 0.1) -- Black outline should have low RGB values assert(words[1].outline.x < 0.1) -- Black outline should have low RGB values