mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CComponentsPicture: add missing define of dimensions after init
This commit is contained in:
@@ -883,8 +883,8 @@ void CComponentsPicture::initVarPicture()
|
|||||||
}
|
}
|
||||||
|
|
||||||
int sw = (shadow ? shadow_w :0);
|
int sw = (shadow ? shadow_w :0);
|
||||||
width = max(pic_width, width) + sw ;
|
width = max(max(pic_width, pic_max_w), width) + sw ;
|
||||||
height = max(pic_height, height) + sw ;
|
height = max(max(pic_height, pic_max_h), height) + sw ;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CComponentsPicture::paint(bool do_save_bg)
|
void CComponentsPicture::paint(bool do_save_bg)
|
||||||
|
Reference in New Issue
Block a user