RoomVisual bug: `background` color option ignored
-
It looks like the "background" options on RoomVisual.text is being ignored.
This should have black text on a white background, but there is no background color set. I've tried a few variations on this with no luck resolving it.
var room = Game.rooms['E47N37'];
var pos = room.getPositionAt(28, 28);
room.visual.text('test', pos.x, pos.y-1, {
'color': '#000000',
'background': '#ffffff',
})
-
Looks like the option name is actually "backgroundColor", not "background".
-
Thanks, docs page is fixed.