[Gui] NaviCube: fix rotation to backside

- when pressing the "dot" besides the NaviCube, the rotation to the backside was not in the center thus the view jumped
This commit is contained in:
Uwe
2022-11-11 04:15:48 +01:00
parent 2ff8d5b1a4
commit 4bade5d96b

View File

@@ -1619,7 +1619,7 @@ bool NaviCubeImplementation::mouseReleased(short x, short y) {
viewRot = rotateView(viewRot, DIR_RIGHT, rotStepAngle);
break;
case TEX_DOT_BACKSIDE:
viewRot = rotateView(viewRot, 0, 180);
viewRot = rotateView(viewRot, DIR_UP, 180);
break;
case TEX_VIEW_MENU_FACE:
handleMenu();