summaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
authorJulius Haertl <jus@bitgrid.net>2016-12-04 13:03:02 +0100
committerJulius Haertl <jus@bitgrid.net>2016-12-04 13:38:36 +0100
commitf423bdcb81aa45de6f5ecff8da73f6c5dbeff6a5 (patch)
tree33f4486bac2f4ed9985af944bf428187fb6f5827 /apps/theming
parent797e7614925d10f8a11ae239f2122497d0f01fc2 (diff)
downloadnextcloud-server-f423bdcb81aa45de6f5ecff8da73f6c5dbeff6a5.tar.gz
nextcloud-server-f423bdcb81aa45de6f5ecff8da73f6c5dbeff6a5.zip
Fix background border radius
Signed-off-by: Julius Haertl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/lib/IconBuilder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/IconBuilder.php b/apps/theming/lib/IconBuilder.php
index 570b3411049..9a4718bb658 100644
--- a/apps/theming/lib/IconBuilder.php
+++ b/apps/theming/lib/IconBuilder.php
@@ -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") {