Skip to content

Commit 00515e2

Browse files
Fixed transparent Color constant. (#1949)
Signed-off-by: Joshua Minor <[email protected]> Co-authored-by: Darby Johnston <[email protected]>
1 parent 207d69f commit 00515e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/opentimelineio/color.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const Color Color::purple(0.5, 0.0, 0.5, 1.0, "Purple");
3737
const Color Color::magenta(1.0, 0.0, 1.0, 1.0, "Magenta");
3838
const Color Color::black(0.0, 0.0, 0.0, 1.0, "Black");
3939
const Color Color::white(1.0, 1.0, 1.0, 1.0, "White");
40-
const Color Color::transparent(1.0, 1.0, 1.0, 0.0, "Transparent");
40+
const Color Color::transparent(0.0, 0.0, 0.0, 0.0, "Transparent");
4141

4242
Color*
4343
Color::from_hex(std::string const& color)

0 commit comments

Comments
 (0)