Changed the default background color to the system default.
This commit is contained in:
@@ -834,7 +834,7 @@ CalcView::_LoadSettings(BMessage* archive)
|
|||||||
if (archive->FindData("rgbBaseColor", B_RGB_COLOR_TYPE,
|
if (archive->FindData("rgbBaseColor", B_RGB_COLOR_TYPE,
|
||||||
(const void**)&color, &size) < B_OK
|
(const void**)&color, &size) < B_OK
|
||||||
|| size != sizeof(rgb_color)) {
|
|| 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");
|
puts("Missing rgbBaseColor from CalcView archive!\n");
|
||||||
} else {
|
} else {
|
||||||
fBaseColor = *color;
|
fBaseColor = *color;
|
||||||
|
|||||||
Reference in New Issue
Block a user