added 1 changeset to branch 'refs/remotes/looncraz-github/setviewuicolor'
old head: b2c6f5903084c53130a939cd47c4ec4f123fe9ce
new head: 98d25c8d95b5b847410f1045fa65a2503e6a6f48
overview: https://github.com/looncraz/haiku/compare/b2c6f5903084...98d25c8d95b5
----------------------------------------------------------------------------
98d25c8d95b5: Revert back to using valid_flags
Using archiving_flags causes odd problems with HaikuDepot... as in the
SetViewUIColor methods for many view just stops working.
No time to investigate further at this time.
[ looncraz <looncraz@xxxxxxxxxxxx> ]
----------------------------------------------------------------------------
Commit: 98d25c8d95b5b847410f1045fa65a2503e6a6f48
Author: looncraz <looncraz@xxxxxxxxxxxx>
Date: Tue Oct 27 03:12:11 2015 UTC
----------------------------------------------------------------------------
1 file changed, 1 insertion(+), 1 deletion(-)
src/kits/interface/View.cpp | 2 +-
----------------------------------------------------------------------------
diff --git a/src/kits/interface/View.cpp b/src/kits/interface/View.cpp
index 612bfce..deff801 100644
--- a/src/kits/interface/View.cpp
+++ b/src/kits/interface/View.cpp
@@ -2670,7 +2670,7 @@ BView::SetViewUIColor(color_which which, float tint)
}
if (which != B_NO_COLOR
- && (fState->archiving_flags & B_VIEW_WHICH_LOW_COLOR_BIT) == 0)
+ && !fState->IsValid(B_VIEW_WHICH_LOW_COLOR_BIT))
SetLowUIColor(which, tint);
}