Make sure to reset the cached viewport.

This commit is contained in:
Jeff Young 2024-06-12 23:35:06 +01:00
parent ccc76aad2f
commit c9ddcd618d
1 changed files with 2 additions and 0 deletions

View File

@ -589,6 +589,8 @@ void PCB_EDIT_FRAME::redrawNetnames()
int maxCount = 200;
int count = 0;
m_lastNetnamesViewport = viewport;
// Inflate to catch most of the track width
BOX2I_MINMAX clipbox( BOX2ISafe( viewport.Inflate( pcbIUScale.mmToIU( 2.0 ) ) ) );