We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b341aad commit f109f04Copy full SHA for f109f04
src/editor/gui/view_map.cpp
@@ -908,11 +908,11 @@ const std::vector<int>* CViewMap::GetMemorizedZoneData(const CAssetPath& AssetPa
908
909
void CViewMap::CCursorTool::ApplyGridAlignment(vec2 *pPoint, const vec2 &Offset) const
910
{
911
- if(m_pViewMap->GetGridAlign())
+ bool HalfStepAlignment = Input()->KeyIsPressed(KEY_LSHIFT);
912
+ if(m_pViewMap->GetGridAlign() || HalfStepAlignment)
913
914
vec2 AlignedPoint = *pPoint;
915
AlignedPoint -= Offset;
- bool HalfStepAlignment = Input()->KeyIsPressed(KEY_LSHIFT);
916
AlignedPoint = m_pViewMap->MapRenderer()->MapPosToTilePos(AlignedPoint);
917
int Factor = 1;
918
if(HalfStepAlignment)
0 commit comments