always scale svg's

Origin commit data
------------------
Branch: ni/coolstream
Commit: ee10ecffe6
Author: TangoCash <eric@loxat.de>
Date: 2021-11-05 (Fri, 05 Nov 2021)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2021-11-05 11:25:19 +01:00
committed by vanhofen
parent 59fac51de7
commit 7dd441474f

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