Changing note length in key editor should obey snap type

Currently when one drags the end of a note in the key editor, the snap to grid works always as relative to the note start position instead of according to the selected snap type. IMHO dragging the end of a note should obey whichever snap type is selected so that note ends on notes that have been nudged could be snapped to the grid.

Nudging notes is often necessary with sample libraries with legato transitions, and if one is editing notes, it’s still necessary to keep the note ends overlapping by having them at the actual grid points. The mechanism should definitely have the ability to work in the current “note start relative” way but one should be able to snap exactly on the the grid as well. The way it is now, the current mechanism feels more like an oversight than a “feature”.