Kaydet (Commit) 224b2a46 authored tarafından Radek Doulik's avatar Radek Doulik

fix condition for compositing surface refresh

  - fixes problems on slideshow window shrinking
üst 8ade517f
......@@ -524,8 +524,8 @@ namespace cairocanvas
::cairo::SurfaceSharedPtr SpriteCanvasHelper::getCompositingSurface( const ::basegfx::B2ISize& rNeededSize )
{
if( rNeededSize.getX() < maCompositingSurfaceSize.getX() ||
rNeededSize.getY() < maCompositingSurfaceSize.getY() )
if( rNeededSize.getX() > maCompositingSurfaceSize.getX() ||
rNeededSize.getY() > maCompositingSurfaceSize.getY() )
{
// need to give buffer more size
mpCompositingSurface.reset();
......
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