7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 14:31:42 +00:00

Don't wait for mouse-move to update screen.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19771
This commit is contained in:
Jeff Young 2025-01-29 11:23:40 +00:00
parent fb87ea6837
commit 3078d82bd5

View File

@ -574,6 +574,8 @@ int PCB_CONTROL::LayerAlphaInc( const TOOL_EVENT& aEvent )
if( IsCopperLayer( currentLayer ) )
view->UpdateLayerColor( ZONE_LAYER_FOR( currentLayer ) );
m_frame->GetCanvas()->ForceRefresh();
}
else
{
@ -602,6 +604,8 @@ int PCB_CONTROL::LayerAlphaDec( const TOOL_EVENT& aEvent )
if( IsCopperLayer( currentLayer ) )
view->UpdateLayerColor( ZONE_LAYER_FOR( currentLayer ) );
m_frame->GetCanvas()->ForceRefresh();
}
else
{