fix #30106: note input cursor too close too barline
Merge pull request #1178 from MarcSabatella/30106

fix #30106: note input cursor too close too barline