mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix background border radius
Signed-off-by: Julius Haertl <jus@bitgrid.net>
This commit is contained in:
parent
797e761492
commit
f423bdcb81
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ class IconBuilder {
|
|||
// generate background image with rounded corners
|
||||
$background = '<?xml version="1.0" encoding="UTF-8"?>' .
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:cc="http://creativecommons.org/ns#" width="512" height="512" xmlns:xlink="http://www.w3.org/1999/xlink">' .
|
||||
'<rect x="0" y="0" rx="75" ry="75" width="512" height="512" style="fill:' . $color . ';" />' .
|
||||
'<rect x="0" y="0" rx="100" ry="100" width="512" height="512" style="fill:' . $color . ';" />' .
|
||||
'</svg>';
|
||||
// resize svg magic as this seems broken in Imagemagick
|
||||
if($mime === "image/svg+xml" || substr($appIconContent, 0, 4) === "<svg") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue