0

Stronger support for setting a background color

Works by setting "bg_color='#rrggbb'" in settings.py.  Works for both
png and jpg imgformats
This commit is contained in:
Andrew Chin
2011-04-17 14:10:27 -04:00
parent f30a5db2a1
commit ed5f3eaad4
5 changed files with 20 additions and 11 deletions

View File

@@ -8,7 +8,7 @@
//center: [0,0,0],
center: {spawn_coords},
cacheMinutes: 0, // Change this to have browsers automatically request new images every x minutes
bg_color: '#1A1A1A',
bg_color: '{bg_color}', // You can set this in settings.py
debug: false
};