simulton / QSchematic

A library that allows creating diagrams such as flowcharts or even proper engineering schematics within a Qt application.
https://simulton.com
MIT License
232 stars 60 forks source link

Map rotation to 0-360 range #12

Closed XenotriX closed 5 years ago

XenotriX commented 5 years ago

Summary: Map the rotation of nodes to be in the range 0 to 360.

Test Plan: Log the rotation in Node::mouseMoveEvent and check if it doesn't go over 360 or under 0.

Reviewers: Joel

Reviewed By: Joel

Differential Revision: https://phabricator.simulton.com/D63