Right Mouse Button To Erase Nodes In Automation Editor Cursor Icon...#3414
Conversation
|
|
||
| EditModes m_editMode; | ||
|
|
||
| bool m_mouseDownLeft; //true if left click is being held down |
There was a problem hiding this comment.
Since you end up only using m_mouseDownRight you should remove the m_mouseDownLeft as it's not used anywhere.
There was a problem hiding this comment.
Agreed, will remove this one. Also, suggested change(s) might be applicable to PianoRoll as it is never used also.
lmms/src/gui/editors/PianoRoll.cpp
Line 1925 in 85ed63b
(Only line where it is used)
| { | ||
| cursor = s_toolErase; | ||
| } | ||
| else |
There was a problem hiding this comment.
You could also add a change for the cursor when automation points are moved, like in the piano roll:
lmms/src/gui/editors/PianoRoll.cpp
Lines 3136 to 3152 in 85ed63b
So we keep consitency.
|
Tested out the PR, works nice, but some changes are needed. P.S. Lepo je videti da postoje ljudi u Beogradu koji se zanimaju za LMMS :) |
|
Hvala (Thanks), @Umcaruje . 🍻 |
|
I have made suggested changes, also removed unused member from Also there is an issue with triggering |
We just squash on merge with Github, so there's no need for you to do it manually.
Yeah, if that issue is outside of the scope of this PR, feel free to open a new issue for it. Better to have several small PR's than one big one :) I'll test this tommorow, the code LGTM, if all goes well in testing, I'll merge 👍 |
…LMMS#3414) * Right Mouse Button To Erase Nodes In Automation Editor Cursor Icon Does Not Change LMMS#3310 * Remove unused member m_mouseDownLeft from PianoRoll * Add move cursor for automation points drag
Right Mouse Button To Erase Nodes In Automation Editor Cursor Icon Does Not Change #3310