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:
parent
fb87ea6837
commit
3078d82bd5
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user