anatoly-os
2d2027ecf9
Merge pull request #5919 from SKefalidis/break-acc
...
fix #302822 : breaks are now accessible via keyboard
2020-04-20 15:46:58 +03:00
anatoly-os
02916d39a9
Merge pull request #5881 from SKefalidis/text-small
...
fix #292652 : Empty lines become smaller.
2020-04-20 15:36:55 +03:00
anatoly-os
b87666d764
Merge pull request #5834 from SKefalidis/293129-selectall
...
fix #295156 : select-all now highlights text without the need to release ctrl
2020-04-20 15:35:43 +03:00
DangWang
0998fffc66
fix #292652 : Empty lines become smaller
2020-04-18 00:30:48 +03:00
anatoly-os
f993cc2e9e
Merge pull request #5763 from dmitrio95/anchors_rebasing
...
Rebase segment-anchored lines on dragging
2020-04-17 17:05:40 +03:00
anatoly-os
9c614db713
Merge pull request #5948 from Howard-C/beaming-style
...
String fix regarding the alternate beaming style of minim tremolos
2020-04-17 17:04:56 +03:00
Howard-C
c876cbe4a6
String fix regarding the alternate beaming style of minim tremolos
...
- "Beam style" -> "Stroke style"
- "All lines attached to stem" -> "All strokes attached to stems"
2020-04-17 15:55:13 +08:00
anatoly-os
3306b7c7bb
Merge pull request #5949 from igorkorsukov/mue/audio_module
...
Moved midi, synthesizers, drives, exports to audio module
2020-04-17 10:26:11 +03:00
Dmitri Ovodok
c7ffeba4cf
Rework edit drag for lines
...
Restructure lines anchors rebasing code, allow for reliable line
span change between systems
2020-04-17 00:10:42 +03:00
Dmitri Ovodok
55230ca86d
Add a way to handle dragging elements collectively
...
Also draw anchor lines for multiple selected elements on dragging
2020-04-17 00:10:39 +03:00
Dmitri Ovodok
ad6c8581d7
Restructure drag-related variables to have them defined more clearly
...
Also restore an ability to use Ctrl or Shift for horizontal/vertical drag of lines
2020-04-17 00:05:38 +03:00
Dmitri Ovodok
52a4af41b2
Limit segment searching on dragging to one staff
2020-04-17 00:05:38 +03:00
Dmitri Ovodok
98e483bd0b
Add spacingFactor parameter to position searching functions
...
This allows to define a ratio which is used to split canvas between
the adjacent segments, systems etc.
2020-04-17 00:05:37 +03:00
Dmitri Ovodok
9c6566e611
Fix searching systems for dragging
2020-04-17 00:05:37 +03:00
Dmitri Ovodok
4051eb02ee
Fix dragging hairpin on non-first pages
2020-04-17 00:05:36 +03:00
Dmitri Ovodok
815ee1d53f
Make offset2 change undoable when dragging a line
2020-04-17 00:05:36 +03:00
Dmitri Ovodok
fc532ab27b
moveLeft/Right anchor code style fixes
2020-04-17 00:05:35 +03:00
pereverzev_v
6b42294919
Added possibility to rebase line anchors during the drag
2020-04-17 00:05:35 +03:00
Dmitri Ovodok
9c1ca67389
Basic implementation of changing line anchors when dragging
2020-04-17 00:05:33 +03:00
Dmitri Ovodok
ed03bd6440
Fix wrong hairpin length if score ends with MM rest
2020-04-17 00:05:32 +03:00
Dmitri Ovodok
265b5f9b2b
Extract searchSegment function to search a segment by its x coordinate
2020-04-17 00:05:32 +03:00
Dmitri Ovodok
60169a6082
Extract searchStaff function to search a staff by its y coordinate
2020-04-17 00:05:31 +03:00
anatoly-os
a5c92e2040
Merge pull request #5643 from dmitrio95/mscx-read-crash
...
Fix a crash on MSCZ reading, add a way of handling such errors
2020-04-16 13:34:06 +03:00
anatoly-os
613a4e39fe
Merge pull request #5738 from dmitrio95/anchors_drawing
...
Rework anchor lines drawing
2020-04-16 13:33:03 +03:00
anatoly-os
1ef7929046
Moved midi, synthesizers, drives, exports to audio module
2020-04-16 12:23:51 +02:00
anatoly-os
09aeb75dfb
Merge pull request #5915 from Jojo-Schmitz/spacer-crash
...
fix #303611 : Adding fixed spacer can clash with vertical frame below, causing a crash.
2020-04-15 13:04:54 +03:00
anatoly-os
887f745b20
Merge pull request #5332 from mattmcclinch/294542-notehead-scheme
...
fix #294542 : Allow setting notehead scheme on a note-by-note basis in the Inspector
2020-04-15 00:15:52 +03:00
Matt McClinch
4c0db9b19b
fix #294542 : Allow setting notehead scheme on a note-by-note basis in the Inspector
...
Resolves: https://musescore.org/en/node/294542 .
Up until now, notehead scheme has only been a StaffType property. If a Note is going to have its own notehead scheme, it seems fitting to do a bit of reorganization. Here is a summary of the changes made:
- Moved enum class NoteHeadScheme to NoteHead::Scheme, alongside NoteHead::Group and NoteHead::Type.
- Added HEAD_AUTO as a possible value for NoteHead::Scheme.
- Moved scheme2userName(), scheme2name(), and name2scheme() from class StaffType to class NoteHead.
- Renamed Pid::STAFF_NOTEHEAD_SCHEME to Pid::HEAD_SCHEME. This change is reflected in the Plugin API, with Element property staffNoteheadScheme being renamed to headScheme. This should not break too many existing plugins, because the NoteHeadScheme enum values have never been exposed until now. Speaking of which,
- Exposed the NoteHead::Scheme enum values to the Plugin API as NoteHeadScheme.HEAD_AUTO, etc. And finally, (and the main point of all of this):
- Added a property of type NoteHead::Scheme to class Note, and exposed it via the Inspector. If set to HEAD_AUTO (the default), the StaffType’s noteHeadScheme will be used. Otherwise, this will override the StaffType’s noteHeadScheme.
2020-04-14 10:26:09 -04:00
anatoly-os
a59f72e05f
Merge pull request #5619 from Howard-C/tremolo-layout
...
More beautiful default layout related to tremolos (fix #20390 ) (+ collect_artifacts)
2020-04-14 16:35:27 +03:00
anatoly-os
8198aeb93c
Merge pull request #5849 from Jojo-Schmitz/compiler-warnings
...
fix compiler warnings
2020-04-14 15:39:16 +03:00
Joachim Schmitz
17a978ad8c
fix compiler warnings
2020-04-14 14:29:17 +02:00
J. Edward Sanchez
f363220a1b
Fix #297426 : The playback cursor is not repositioned when selecting items other than notes, rests or measures
...
Improved the functionality of the playhead (a.k.a. the playback cursor) so that whenever the user selects an element, the playhead is automatically repositioned to the element's time position. Previously, this worked only for noteheads and rests, but it now works for note stems, beams, augmentation dots, accidentals, ties, slurs, articulations, time signatures, key signatures, clefs, tempo changes, dynamics, lines, barlines, breaks, spacers, measure numbers, text, and so on.
Special cases handled:
* Barlines. The playhead is moved to the start of the measure to the right of the barline, unless it's the last barline in either the entire score or the system, in which case the playhead is moved to the start of the measure to the left of the barline.
* Brackets always have a time position of zero, so the playhead is moved to the start of the first measure in the system that the bracket belongs to.
* Instrument names always have a time position of zero, so the playhead is moved to the start of the first measure in the system that the instrument name belongs to.
2020-04-14 05:15:05 -07:00
anatoly-os
b2640e0ab6
Merge pull request #5788 from agusterol/master
...
fix #153656 : Added advanced preference key io/midi/pedalEventsMinTicks for tweaking the amount of ticks between a pedal off event and a pedal on event
2020-04-14 14:13:13 +03:00
Howard-C
9e4e4ac8d2
Make the improvements work with tremolos with non-default beam style
2020-04-14 19:07:35 +08:00
Joachim Schmitz
fd24a190c3
assert
2020-04-14 12:51:33 +02:00
Joachim Schmitz
58c12c8623
fix #303611 : Adding fixed spacer can clash with vertical frame below, causing a crash.
2020-04-14 12:51:33 +02:00
Howard-C
dc08f911ce
Address review
2020-04-14 18:11:17 +08:00
Howard-C
0769d8932b
Update vtests
...
+ fix one bug regarding `_spatium` not considerated
2020-04-14 18:11:17 +08:00
Howard-C
0162361c1e
Turn QPair to std::pair
2020-04-14 18:11:16 +08:00
Howard-C
b817afe89f
Make the tremolo strokes less steep in any case except crossStaffBeamBetween() (+ collect_artifacts)
...
The case of two chords having the same `up()` value is already taken care of in the usage of `extendedStemLenWithTwoNoteTremolo()`.
2020-04-14 18:11:15 +08:00
Howard-C
8e5b82db33
Move extendedStemLenWithTwoNoteTremolo() to layout.cpp to avoid calling it in a Chord member function
...
+ provide a commented-out part of adjusting stem lengths for cross-staff two-note tremolos that currently isn't working in some cases
2020-04-14 18:11:06 +08:00
Howard-C
bcad104d73
Improve layout of two-note tremolos of chords without stem
2020-04-14 18:04:00 +08:00
Howard-C
7450cbff16
Improve layout related to two-note tremolos
2020-04-14 18:03:59 +08:00
Howard-C
43ab590066
Improve layout related to single-note tremolos
...
fix #20390 : tremolo through stem collide with ledger lines
2020-04-14 18:03:58 +08:00
anatoly-os
db7c5560ce
Merge pull request #5612 from Howard-C/minim-tremolo
...
Support "all lines attached to stem" beam style of tremolo (partially fix #18897 )
2020-04-14 12:45:06 +03:00
Howard-C
70e41448a9
Address review
2020-04-14 16:54:21 +08:00
Howard-C
10ccdaa9ce
Fix not able to change layout of dotted minim tremolos
2020-04-14 16:54:21 +08:00
Howard-C
d3f9f6baa9
Restrict "all lines attached to stem" tremolo beam style to non-tab staves
2020-04-14 16:54:20 +08:00
Howard-C
9cde80bd56
Initial implementation of "all lines attached to stem" beam style of tremolo
2020-04-14 16:54:19 +08:00
anatoly-os
8659ae072e
Merge pull request #5456 from Howard-C/backup-import
...
[Backup File] fix #295701 : able to open backup files as an import
2020-04-14 11:02:24 +03:00