mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-17 10:23:37 +02:00
CComponentsPicture: add missing define of dimensions after init
Origin commit data
------------------
Commit: 764dbcd429
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-25 (Sun, 25 Nov 2012)
This commit is contained in:
@@ -883,8 +883,8 @@ void CComponentsPicture::initVarPicture()
|
||||
}
|
||||
|
||||
int sw = (shadow ? shadow_w :0);
|
||||
width = max(pic_width, width) + sw ;
|
||||
height = max(pic_height, height) + sw ;
|
||||
width = max(max(pic_width, pic_max_w), width) + sw ;
|
||||
height = max(max(pic_height, pic_max_h), height) + sw ;
|
||||
}
|
||||
|
||||
void CComponentsPicture::paint(bool do_save_bg)
|
||||
|
Reference in New Issue
Block a user