various: adding files missing in last commit

Oddly some files didn't commit previously. This commit adds those.
This commit is contained in:
itsmattkc
2020-05-27 03:24:37 +10:00
parent 3e3cacbc85
commit 14ac1ada6e
9 changed files with 49 additions and 41 deletions
+2 -2
View File
@@ -238,8 +238,8 @@ void CurveView::VerticalScaleChangedEvent(double scale)
void CurveView::wheelEvent(QWheelEvent *event)
{
if (WheelEventIsAZoomEvent(event)) {
if (event->delta() != 0) {
if (event->delta() > 0) {
if (!event->angleDelta().isNull()) {
if (event->angleDelta().x() + event->angleDelta().y() > 0) {
emit ScaleChanged(GetScale() * 1.1);
SetYScale(GetYScale() * 1.1);
} else {