File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
engine/src/main/java/org/destinationsol/game/screens Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,12 +63,12 @@ public class MapScreen extends SolUiBaseScreen {
6363 zoomOutControl .setDisplayName ("Zoom Out" );
6464 controls .add (zoomOutControl );
6565
66- Rectangle addWaypointArea = mobile ? MainGameScreen .btn (0 , row0 - MainGameScreen . CELL_SZ , false ) : rightPaneLayout .buttonRect (4 );
66+ Rectangle addWaypointArea = mobile ? MainGameScreen .btn (0 , 0 , false ) : rightPaneLayout .buttonRect (4 );
6767 addWaypointControl = new SolUiControl (addWaypointArea , true , gameOptions .getKeyShoot2 ());
6868 addWaypointControl .setDisplayName (NEW_WAYPOINT_TEXT );
6969 controls .add (addWaypointControl );
7070
71- Rectangle removeWaypointArea = mobile ? MainGameScreen .btn (0 , row0 - MainGameScreen .CELL_SZ * 2 , false ) : rightPaneLayout .buttonRect (5 );
71+ Rectangle removeWaypointArea = mobile ? MainGameScreen .btn (0 , MainGameScreen .CELL_SZ , false ) : rightPaneLayout .buttonRect (5 );
7272 removeWaypointControl = new SolUiControl (removeWaypointArea , true , gameOptions .getKeyShoot2 ());
7373 removeWaypointControl .setDisplayName (REMOVE_WAYPOINT_TEXT );
7474 controls .add (removeWaypointControl );
You can’t perform that action at this time.
0 commit comments