Changed the default background color to the system default.

This commit is contained in:
Axel Dörfler 2012-04-30 22:44:27 +02:00
parent 99a7ed4d4b
commit a2e15b244f

View File

@ -834,7 +834,7 @@ CalcView::_LoadSettings(BMessage* archive)
if (archive->FindData("rgbBaseColor", B_RGB_COLOR_TYPE,
(const void**)&color, &size) < B_OK
|| size != sizeof(rgb_color)) {
fBaseColor = (rgb_color){ 128, 128, 128, 255 };
fBaseColor = ui_color(B_PANEL_BACKGROUND_COLOR);
puts("Missing rgbBaseColor from CalcView archive!\n");
} else {
fBaseColor = *color;