From d1dfe325f9ecd33bd06627014e0ae305dc3191f2 Mon Sep 17 00:00:00 2001 From: Hussam Eddin Alhomsi Date: Sun, 22 Apr 2018 11:40:46 +0300 Subject: [PATCH] Tab to space --- src/gui/editors/AutomationEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/editors/AutomationEditor.cpp b/src/gui/editors/AutomationEditor.cpp index 5bb2afadd10..e75f4c6b5d2 100644 --- a/src/gui/editors/AutomationEditor.cpp +++ b/src/gui/editors/AutomationEditor.cpp @@ -1099,7 +1099,7 @@ inline void AutomationEditor::drawCross( QPainter & p ) float scaledLevel = m_pattern->firstObject()->scaledValue( level ); // Limit the scaled-level tooltip to the grid - if( mouse_pos.x() > LEFT_MARGIN && + if( mouse_pos.x() > LEFT_MARGIN && mouse_pos.x() < right_margin && mouse_pos.y() > TOP_MARGIN && mouse_pos.y() < bottom_margin )