mirror of
https://github.com/Insality/druid.git
synced 2025-11-26 10:50:52 +01:00
Up
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -17,3 +17,5 @@ manifest.private.der
|
||||
manifest.public.der
|
||||
/.editor_settings
|
||||
/.deployer_cache
|
||||
|
||||
deployer_version_settings.ini
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
bob_folder=./
|
||||
|
||||
# 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
|
||||
bob_channel="stable"
|
||||
|
||||
@@ -106,12 +106,6 @@ return function()
|
||||
-- Test shadow tag with named color
|
||||
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[1].shadow ~= nil)
|
||||
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
|
||||
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[1].outline ~= nil)
|
||||
assert(words[1].outline.x < 0.1) -- Black outline should have low RGB values
|
||||
|
||||
Reference in New Issue
Block a user