Fix right clicking dots no longer working on the minimap, broken {} pair that slipped my eyes.
This commit is contained in:
@@ -645,6 +645,7 @@ void LLNetMap::draw()
|
|||||||
}
|
}
|
||||||
else LLWorldMapView::drawTrackingDot(pos_map.mV[VX],pos_map.mV[VY],color,0.f);
|
else LLWorldMapView::drawTrackingDot(pos_map.mV[VX],pos_map.mV[VY],color,0.f);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
F32 dist_to_cursor_squared = dist_vec_squared(LLVector2(pos_map.mV[VX], pos_map.mV[VY]), LLVector2(local_mouse_x,local_mouse_y));
|
F32 dist_to_cursor_squared = dist_vec_squared(LLVector2(pos_map.mV[VX], pos_map.mV[VY]), LLVector2(local_mouse_x,local_mouse_y));
|
||||||
if (dist_to_cursor_squared < min_pick_dist_squared && dist_to_cursor_squared < closest_dist_squared)
|
if (dist_to_cursor_squared < min_pick_dist_squared && dist_to_cursor_squared < closest_dist_squared)
|
||||||
@@ -773,7 +774,6 @@ void LLNetMap::draw()
|
|||||||
|
|
||||||
LLUICtrl::draw();
|
LLUICtrl::draw();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void LLNetMap::reshape(S32 width, S32 height, BOOL called_from_parent)
|
void LLNetMap::reshape(S32 width, S32 height, BOOL called_from_parent)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user