mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-05 14:18:53 +02:00
Fix bug where MixerBoard sliders did not redraw on resizing.
Vital feature of MixerBoard as the point is to be able to have large sliders. The problem was that the slider background was cached in a bitmap, and that cached image was not being refreshed on a resize.
This commit is contained in:
parent
af61389322
commit
8b90a8f34d
@ -565,6 +565,9 @@ void LWSlider::AdjustSize(const wxSize & sz)
|
||||
mWidth = sz.GetWidth();
|
||||
mHeight = sz.GetHeight();
|
||||
|
||||
if( mBitmap ){
|
||||
mBitmap.release();
|
||||
}
|
||||
mThumbWidth = 14;
|
||||
mThumbHeight = 14;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user