summaryrefslogtreecommitdiff
path: root/gtk2_ardour/note_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/note_base.h')
-rw-r--r--gtk2_ardour/note_base.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk2_ardour/note_base.h b/gtk2_ardour/note_base.h
index 54c53ff6d2..b7be36ada8 100644
--- a/gtk2_ardour/note_base.h
+++ b/gtk2_ardour/note_base.h
@@ -52,7 +52,7 @@ namespace ArdourCanvas {
*/
class NoteBase : public sigc::trackable
{
- public:
+public:
typedef Evoral::Note<Evoral::Beats> NoteType;
NoteBase (MidiRegionView& region, bool, const boost::shared_ptr<NoteType> note = boost::shared_ptr<NoteType>());
@@ -106,11 +106,9 @@ class NoteBase : public sigc::trackable
if (selected) {
return _selected_mod_col;
} else if (vel < 64) {
- return UINT_INTERPOLATE(_min_col, _mid_col,
- (vel / (double)63.0));
+ return UINT_INTERPOLATE(_min_col, _mid_col, (vel / (double)63.0));
} else {
- return UINT_INTERPOLATE(_mid_col, _max_col,
- ((vel-64) / (double)63.0));
+ return UINT_INTERPOLATE(_mid_col, _max_col, ((vel - 64) / (double)63.0));
}
}