3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-26 23:35:33 +02:00

Merge pull request from ctrlaltdavid/overlays_example_fix

Fix property names used for text overlay colors
This commit is contained in:
Brad Hefta-Gaub 2014-10-06 14:35:47 -07:00
commit 2d06b150c4

View file

@ -64,8 +64,8 @@ var text = Overlays.addOverlay("text", {
y: 100,
width: 150,
height: 50,
color: { red: 0, green: 0, blue: 0},
textColor: { red: 255, green: 0, blue: 0},
backgroundColor: { red: 255, green: 255, blue: 255},
color: { red: 255, green: 0, blue: 0},
topMargin: 4,
leftMargin: 4,
text: "Here is some text.\nAnd a second line."