Fix text background color format from ARGB to ABGR

Changed color value from 0xFF002B4B to 0xFF4B2B00 to use the ABGR format
that OBS expects. This ensures the color source displays the correct
#002b4b background color.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Decobus 2025-07-22 13:30:49 -04:00
parent 4087a60ffa
commit a78c6f215e

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
};