text-background-color-source #8

Merged
deco merged 4 commits from text-background-color-source into main 2025-07-22 21:11:31 +03:00
Showing only changes of commit a78c6f215e - Show all commits

View file

@ -280,7 +280,7 @@ async function createTextSource(sceneName, textSourceName, text) {
inputName: colorSourceName,
inputKind: 'color_source_v3', // Use v3 if available, fallback handled below
inputSettings: {
color: 0xFF002B4B, // Background color #002b4b
color: 0xFF4B2B00, // Background color #002b4b in ABGR format
width: 800, // Width to accommodate text
height: 100 // Height for text background
}
@ -292,7 +292,7 @@ async function createTextSource(sceneName, textSourceName, text) {
inputName: colorSourceName,
inputKind: 'color_source_v2',
inputSettings: {
color: 0xFF002B4B,
color: 0xFF4B2B00,
width: 800,
height: 100
}
@ -304,7 +304,7 @@ async function createTextSource(sceneName, textSourceName, text) {
inputName: colorSourceName,
inputKind: 'color_source',
inputSettings: {
color: 0xFF002B4B,
color: 0xFF4B2B00,
width: 800,
height: 100
}
@ -358,7 +358,7 @@ async function createTextSource(sceneName, textSourceName, text) {
outline: true,
outline_color: 0xFF000000, // Black outline
outline_size: 4,
bk_color: 0xFF002B4B, // Background color #002b4b
bk_color: 0xFF4B2B00, // Background color #002b4b in ABGR format
bk_opacity: 255 // Full opacity background
};