mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user