private void updateXAxisDelta ( MovingParams details ) { if ( ! hasHorizontalSpaceToMove ( details . getXAxisDelta ( ) ) ) { LOGGER . warn ( "Unable to move the view horizontally. No horizontal space left to move" ) ; details . setXAxisDelta ( 0.0f ) ; } }
Updates the X - axis delta in moving details based on checking whether there is enough space left to move the view horizontally