always scale svg's

This commit is contained in:
TangoCash
2021-11-05 11:25:19 +01:00
committed by Thilo Graf
parent 324f44e3d7
commit 3bf3897787

View File

@@ -184,6 +184,10 @@ void CComponentsPicture::initCCItem()
if (pos == string::npos)
do_scale = false;
// always scale svg's
if (pic_name.find(".svg") == (pic_name.length() - 4))
do_scale = true;
//initial internal size
if (!do_scale){
//use image/icon size as object dimension values