summaryrefslogtreecommitdiff
path: root/gtk2_ardour/note_base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/note_base.cc')
-rw-r--r--gtk2_ardour/note_base.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk2_ardour/note_base.cc b/gtk2_ardour/note_base.cc
index feee7e7d7c..9c47fa7b18 100644
--- a/gtk2_ardour/note_base.cc
+++ b/gtk2_ardour/note_base.cc
@@ -238,14 +238,14 @@ NoteBase::set_mouse_fractions (GdkEvent* ev)
_mouse_y_fraction = yf;
if (notify) {
- if (big_enough_to_trim()) {
- _region.note_mouse_position (_mouse_x_fraction, _mouse_y_fraction, set_cursor);
- } else {
- /* pretend the mouse is in the middle, because this is not big enough
- to trim right now.
- */
- _region.note_mouse_position (0.5, 0.5, set_cursor);
- }
+ if (big_enough_to_trim()) {
+ _region.note_mouse_position (_mouse_x_fraction, _mouse_y_fraction, set_cursor);
+ } else {
+ /* pretend the mouse is in the middle, because this is not big enough
+ to trim right now.
+ */
+ _region.note_mouse_position (0.5, 0.5, set_cursor);
+ }
}
}