Better behavior when left-clicking a TCO (#4290)

Instead of calling MouseMoveEvent(), the TCO's "text float" text and position are updated.
This prevents left-clicking the right edge of a resizable TCO from decreasing its size.

Also, removed an unused variable: m_oldTime
This commit is contained in:
Hussam Eddin Alhomsi
2018-04-11 13:39:43 +03:00
committed by GitHub
parent 00f9590b18
commit e554a4c4b0
2 changed files with 20 additions and 12 deletions

View File

@@ -290,8 +290,6 @@ private:
TextFloat * m_hint;
MidiTime m_oldTime;// used for undo/redo while mouse-button is pressed
// qproperty fields
QColor m_mutedColor;
QColor m_mutedBackgroundColor;