Files
lmms/include
cyber-bridge 05de59c085 Feature: PianoRoll Knife (#5845)
* Initial PianoRoll razor feature

* Restore PianoRoll edit mode after focusOut and in razor mode.

* Show changes directly after cut.

* Fix hanging note after adjusting vol/pan with razor action.

* Extract the split action to a separate method

	This PR addresses some suggestions from a review, the most
important ones being:
	- Extracting the note split action to a separate method, called
Pattern::splitNotes
	- Removing getMouseTickPos method
	- Adding a variable that holds the current razor position and a
method to update it (quantizing if CTRL is not pressed)
	- Using [this] to capture "this" on the lambda function instead
of [=], since the latter doesn't work as intended from C++20 forward
	- Fixing some code style and adding comments

* Removes an extra call to noteUnderMouse

	By removing "&& noteUnderMouse()" from the mousePressEvent
conditional, we avoid an extra call to noteUnderMouse. The only
difference in the behavior of the tool is that now clicking on a place
that doesn't have a note will exit Razor mode.

* Style change suggested by @russiankumar

* Cancel razor action on SHIFT release.

* Make razor cut-line (color) themable.

* Add razor cut-line color to classic theme style.css

* Rename razor to knife.

* Change pixmap from razor to knife (from https://github.com/LMMS/lmms/pull/5524)

* Remove SHIFT behavior.

* Change knife shortcut to SHIFT+K

Co-authored-by: CYBERDEViL <cyberdevil@notabug.org>
Co-authored-by: Ian Caio <iancaio_dev@hotmail.com>
2021-02-26 17:17:16 +05:30
..
2020-05-17 11:15:39 +09:00
2018-07-05 20:16:01 +09:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2018-07-07 11:20:54 +02:00
2018-07-07 11:20:54 +02:00
2020-10-10 15:17:25 +09:00
2019-03-16 20:19:27 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2020-02-21 19:26:29 +01:00
2019-10-31 20:05:33 +01:00
2017-12-11 10:46:19 -05:00
2020-09-13 11:09:46 +09:00
2019-10-31 20:05:33 +01:00
2018-07-05 20:16:01 +09:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2018-10-11 19:32:11 +02:00
2020-11-20 15:49:15 +00:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2020-09-13 11:09:46 +09:00
2018-03-09 11:41:17 -05:00
2020-03-11 15:07:02 -04:00
2021-01-23 13:52:36 +01:00
2020-09-13 11:09:46 +09:00
2020-08-11 11:01:58 +02:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2008-07-22 11:36:50 +00:00
2019-10-31 20:05:33 +01:00
2018-07-07 11:20:54 +02:00
2020-04-04 12:08:55 +09:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2018-04-28 12:54:46 -07:00
2018-04-28 12:54:46 -07:00
2020-05-24 12:50:50 +02:00
2020-10-20 10:36:22 +02:00
2020-12-08 00:12:04 +01:00
2020-12-08 00:12:04 +01:00
2020-12-08 00:12:04 +01:00
2020-12-08 00:12:04 +01:00
2020-09-24 17:59:07 +02:00
2020-10-31 13:28:18 +00:00
2019-10-31 20:05:33 +01:00
2020-09-13 11:09:46 +09:00
2018-07-07 11:20:54 +02:00
2019-10-31 20:05:33 +01:00
2017-11-22 20:38:10 +01:00
2019-10-31 20:05:33 +01:00
2020-11-29 19:46:13 +01:00
2019-10-31 20:05:33 +01:00
2017-11-17 09:51:56 -05:00
2019-10-31 20:05:33 +01:00
2020-11-29 19:46:13 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2020-11-29 19:46:13 +01:00
2021-01-23 13:52:36 +01:00
2017-11-22 20:38:10 +01:00
2019-10-31 20:05:33 +01:00
2019-03-27 07:05:38 +09:00
2020-11-29 19:46:13 +01:00
2019-10-31 20:05:33 +01:00
2019-11-15 17:09:57 -05:00
2020-07-28 17:07:35 +02:00
2021-02-26 17:17:16 +05:30
2019-10-31 20:05:33 +01:00
2018-04-03 13:37:25 +02:00
2018-05-06 16:34:08 -07:00
2021-02-26 17:17:16 +05:30
2019-11-15 17:09:57 -05:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2018-07-07 11:20:54 +02:00
2020-08-09 18:01:35 -05:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-11-21 14:44:18 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2021-01-23 13:52:36 +01:00
2020-09-13 11:09:46 +09:00
2018-07-07 11:20:54 +02:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2019-10-31 20:05:33 +01:00
2018-04-28 12:54:46 -07:00
2019-10-31 20:05:33 +01:00
2020-11-29 19:46:13 +01:00
2018-05-06 16:34:08 -07:00
2018-07-07 11:20:54 +02:00
2018-07-07 11:20:54 +02:00
2019-10-31 20:05:33 +01:00
2018-07-07 11:20:54 +02:00
2019-10-21 11:18:39 +09:00
2019-11-06 22:06:15 -05:00
2019-03-14 09:44:48 +09:00