Commit c3ed210e authored by Maciej Suminski's avatar Maciej Suminski

Increase panning area in GAL view.

parent ae44fb62
...@@ -229,9 +229,6 @@ void PCB_DRAW_PANEL_GAL::SetWorksheet( KIGFX::WORKSHEET_VIEWITEM* aWorksheet ) ...@@ -229,9 +229,6 @@ void PCB_DRAW_PANEL_GAL::SetWorksheet( KIGFX::WORKSHEET_VIEWITEM* aWorksheet )
m_worksheet = aWorksheet; m_worksheet = aWorksheet;
m_view->Add( m_worksheet ); m_view->Add( m_worksheet );
// Limit panning to the size of worksheet frame
m_viewControls->SetPanBoundary( aWorksheet->ViewBBox() );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment