Just formatting #4

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+11 −11
Split
View
@@ -6,17 +6,17 @@ const float GRAYED_ALPHA = 0.25f;
void IControl::SetValueFromPlug(double value)
{
- if (mDefaultValue < 0.0) {
- mDefaultValue = mValue = value;
-// SetDirty(false);
- // Redraw();
- }
-// else
- if (mValue != value) {
- mValue = value;
- SetDirty(false);
- Redraw();
- }
+ if (mDefaultValue < 0.0)
+ {
+ mDefaultValue = mValue = value;
+ }
+
+ if (mValue != value)
+ {
+ mValue = value;
+ SetDirty(false);
+ Redraw();
+ }
}
void IControl::SetValueFromUserInput(double value)