text-background-color-source #8
1 changed files with 4 additions and 4 deletions
|
@ -280,7 +280,7 @@ async function createTextSource(sceneName, textSourceName, text) {
|
||||||
inputName: colorSourceName,
|
inputName: colorSourceName,
|
||||||
inputKind: 'color_source_v3', // Use v3 if available, fallback handled below
|
inputKind: 'color_source_v3', // Use v3 if available, fallback handled below
|
||||||
inputSettings: {
|
inputSettings: {
|
||||||
color: 0xFF002B4B, // Background color #002b4b
|
color: 0xFF4B2B00, // Background color #002b4b in ABGR format
|
||||||
width: 800, // Width to accommodate text
|
width: 800, // Width to accommodate text
|
||||||
height: 100 // Height for text background
|
height: 100 // Height for text background
|
||||||
}
|
}
|
||||||
|
@ -292,7 +292,7 @@ async function createTextSource(sceneName, textSourceName, text) {
|
||||||
inputName: colorSourceName,
|
inputName: colorSourceName,
|
||||||
inputKind: 'color_source_v2',
|
inputKind: 'color_source_v2',
|
||||||
inputSettings: {
|
inputSettings: {
|
||||||
color: 0xFF002B4B,
|
color: 0xFF4B2B00,
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 100
|
height: 100
|
||||||
}
|
}
|
||||||
|
@ -304,7 +304,7 @@ async function createTextSource(sceneName, textSourceName, text) {
|
||||||
inputName: colorSourceName,
|
inputName: colorSourceName,
|
||||||
inputKind: 'color_source',
|
inputKind: 'color_source',
|
||||||
inputSettings: {
|
inputSettings: {
|
||||||
color: 0xFF002B4B,
|
color: 0xFF4B2B00,
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 100
|
height: 100
|
||||||
}
|
}
|
||||||
|
@ -358,7 +358,7 @@ async function createTextSource(sceneName, textSourceName, text) {
|
||||||
outline: true,
|
outline: true,
|
||||||
outline_color: 0xFF000000, // Black outline
|
outline_color: 0xFF000000, // Black outline
|
||||||
outline_size: 4,
|
outline_size: 4,
|
||||||
bk_color: 0xFF002B4B, // Background color #002b4b
|
bk_color: 0xFF4B2B00, // Background color #002b4b in ABGR format
|
||||||
bk_opacity: 255 // Full opacity background
|
bk_opacity: 255 // Full opacity background
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue