Browse Source

Update UIBargraph.cpp

Dal 8 years ago
parent
commit
f46e389b4e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Source/Atomic/UI/UIBargraph.cpp

+ 3 - 3
Source/Atomic/UI/UIBargraph.cpp

@@ -53,10 +53,10 @@ UIBargraph::~UIBargraph()
 void UIBargraph::SetColor(Color color) 
 {
 
-	if (!widget_)
-		return;
+        if (!widget_)
+              return;
 
-	((TBBarGraph*)widget_)->SetColor(color.r_ * 255, color.g_ * 255, color.b_ * 255, color.a_ * 255);
+        ((TBBarGraph*)widget_)->SetColor(color.r_ * 255, color.g_ * 255, color.b_ * 255, color.a_ * 255);
 }
 
 bool UIBargraph::OnEvent(const tb::TBWidgetEvent &ev)