Skip to content

Commit

Permalink
Change version used on rotation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
darktorres committed Sep 26, 2022
1 parent 3ff0446 commit 7963a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graphicelement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ void GraphicElement::loadRotation(QDataStream &stream, const double version)
qreal angle; stream >> angle;
m_angle = angle;

if (version < 4.0) {
if (version < 4.1) {
if ((m_elementGroup == ElementGroup::Input) || (m_elementGroup == ElementGroup::StaticInput)) {
m_angle += 90;
}
Expand Down

0 comments on commit 7963a9c

Please sign in to comment.