Skip to content

Conversation

@miiizen
Copy link
Contributor

@miiizen miiizen commented Nov 18, 2025

This PR moves transposition code out of the DOM and to editing

#include "../../dom/vibrato.h"
#include "../../dom/volta.h"
#include "../../dom/whammybar.h"
#include "../editing/transpose.h"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would think ../../editing because its at the same level as dom

Comment on lines +542 to +544
score->undoTransposeHarmonyDiatonic(h, transposeInterval, useDoubleSharpsFlats, trKeys);
} else {
score->undoTransposeHarmony(h, hInterval, useDoubleSharpsFlats);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe these methods should also be moved into the Transpose class, or would that have disadvantages?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants