Skip to content

Commit

Permalink
Following changed the direction of FOV
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Feb 26, 2024
1 parent 93bbfb8 commit 31ee36b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/StelMovementMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1610,6 +1610,7 @@ void StelMovementMgr::panView(const double deltaAz, const double deltaAlt)
{
setViewUpVector(Vec3d(0., 0., 1.));
}
emit currentDirectionChanged();
}
}

Expand Down
1 change: 1 addition & 0 deletions src/core/StelMovementMgr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ public slots:
void flagEnableZoomKeysChanged(bool b);
void userMaxFovChanged(double fov);
void currentFovChanged(double fov);
void currentDirectionChanged();

private slots:
//! Called when the selected object changes.
Expand Down
1 change: 1 addition & 0 deletions src/gui/SearchDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ void SearchDialog::createDialogContent()
connect(ui->AxisXSpinBox, SIGNAL(valueChanged()), this, SLOT(manualPositionChanged()));
connect(ui->AxisYSpinBox, SIGNAL(valueChanged()), this, SLOT(manualPositionChanged()));
connect(ui->goPushButton, SIGNAL(clicked(bool)), this, SLOT(manualPositionChanged()));
connect(GETSTELMODULE(StelMovementMgr), SIGNAL(currentDirectionChanged()), this, SLOT(setCenterOfScreenCoordinates()));
setCenterOfScreenCoordinates();

connect(ui->alphaPushButton, SIGNAL(clicked(bool)), this, SLOT(greekLetterClicked()));
Expand Down

0 comments on commit 31ee36b

Please sign in to comment.