File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424*/
2525
2626#include " StelMovementMgr.hpp"
27+ #include " StelMainView.hpp"
2728#include " StelObjectMgr.hpp"
2829#include " StelModuleMgr.hpp"
2930#include " StelApp.hpp"
@@ -321,8 +322,8 @@ Vec3d StelMovementMgr::getViewUpVectorJ2000() const
321322
322323bool StelMovementMgr::handleMouseMoves (int x, int y, Qt::MouseButtons)
323324{
324- // Turn if the mouse is at the edge of the screen unless config asks otherwise
325- if (flagEnableMoveAtScreenEdge)
325+ // Turn if the mouse is at the edge of the screen unless config asks otherwise (this is too awkward in windowed mode)
326+ if (flagEnableMoveAtScreenEdge && StelMainView::getInstance (). isFullScreen () )
326327 {
327328 if (x <= 1 )
328329 {
Original file line number Diff line number Diff line change 27752775 <item row =" 6" column =" 1" >
27762776 <widget class =" QCheckBox" name =" pushScreenEdgeCheckBox" >
27772777 <property name =" toolTip" >
2778- <string >Allow mouse to move view when at screen edge</string >
2778+ <string >Allow mouse to move view when at screen edge (Fullscreen only) </string >
27792779 </property >
27802780 <property name =" text" >
27812781 <string >Mouse push screen edge</string >
You can’t perform that action at this time.
0 commit comments