7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 17:03:44 +00:00

Pcbnew: don't let axes hide construction geometry

This commit is contained in:
John Beard 2025-01-24 21:46:56 +08:00
parent 9eaefa3301
commit fb6d3c1808

View File

@ -164,6 +164,8 @@ void CONSTRUCTION_GEOM::ViewDraw( int aLayer, VIEW* aView ) const
std::vector<int> CONSTRUCTION_GEOM::ViewGetLayers() const
{
std::vector<int> layers{ LAYER_GP_OVERLAY };
// Don't use LAYER_GP_OVERLAY, we need the construction geometry to be visible
// on top of the axis cross
std::vector<int> layers{ LAYER_UI_START };
return layers;
}