mark title transition as dirty when resizing client, to avoid flicker.
CCBUG: 298428
This commit is contained in:
parent
309868e803
commit
f76b087b33
1 changed files with 5 additions and 0 deletions
|
@ -917,6 +917,7 @@ namespace Oxygen
|
||||||
renderTitleText( painter, rect, color, contrast );
|
renderTitleText( painter, rect, color, contrast );
|
||||||
|
|
||||||
} else if( !caption().isEmpty() ) {
|
} else if( !caption().isEmpty() ) {
|
||||||
|
|
||||||
renderTitleText( painter, rect, caption(), color, contrast );
|
renderTitleText( painter, rect, caption(), color, contrast );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1407,6 +1408,10 @@ namespace Oxygen
|
||||||
// prepare item data updates
|
// prepare item data updates
|
||||||
_itemData.setDirty( true );
|
_itemData.setDirty( true );
|
||||||
|
|
||||||
|
// mark title animation as dirty
|
||||||
|
if( event->oldSize().width() != event->size().width() )
|
||||||
|
{ _titleAnimationData->setDirty( true ); }
|
||||||
|
|
||||||
// resize backing store pixmap
|
// resize backing store pixmap
|
||||||
if( !compositingActive() )
|
if( !compositingActive() )
|
||||||
{ _pixmap = QPixmap( event->size() ); }
|
{ _pixmap = QPixmap( event->size() ); }
|
||||||
|
|
Loading…
Reference in a new issue