Commit b9864a81 authored by Olivier Teulière's avatar Olivier Teulière

* skins2/src/generic_layout.cpp: refresh the area of the Video control when it

   is not visible
parent 664f1253
...@@ -230,8 +230,8 @@ void GenericLayout::refreshRect( int x, int y, int width, int height ) ...@@ -230,8 +230,8 @@ void GenericLayout::refreshRect( int x, int y, int width, int height )
if( y + height > m_height ) if( y + height > m_height )
height = m_height - y; height = m_height - y;
// Refresh the window... but do not paint on a video control! // Refresh the window... but do not paint on a visible video control!
if( !m_pVideoControl ) if( !m_pVideoControl || !m_pVideoControl->isVisible() )
{ {
// No video control, we can safely repaint the rectangle // No video control, we can safely repaint the rectangle
pWindow->refresh( x, y, width, height ); pWindow->refresh( x, y, width, height );
......
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