Skip to content

Commit 0dae22e

Browse files
Merge pull request #58 from Codeinwp/update
Hot Patch
2 parents d95c759 + e0d7930 commit 0dae22e

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin Name: Logo Maker WordPress Plugin
55
* Plugin URI: https://github.com/Codeinwp/logo-maker
66
* Description: Logo Maker as plugin for WordPress
7-
* Version: 1.11.4
7+
* Version: 1.12.0
88
* Author: Soare Robert Daniel
99
*
1010
* @package logo-maker

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "logo-maker-plugin",
33
"description": "A simple editor for creating logos - with support for WordPress.",
4-
"version": "1.11.3",
4+
"version": "1.12.0",
55
"scripts": {
66
"start": "snowpack dev --polyfill-node",
77
"start-plugin": "wp-scripts start --hot",

src/engine/pipeline.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ export function buildPipelines(_props: StoreProps, _fontRenderers?: FontRenderer
2929
.addTo(parent)
3030
.size(container.width, container.height)
3131
.viewbox(vb.x, vb.y, vb.width, vb.height)
32-
.css( {backgroundColor: container.style.color})
33-
.attr('fill', container.style.color)
34-
// .css("opacity", 0)
32+
.css('background', container.style.color )
3533
.addClass("svg-animations")
3634

3735
/**
@@ -106,8 +104,7 @@ export function buildPipelines(_props: StoreProps, _fontRenderers?: FontRenderer
106104
.addTo(parent)
107105
.size(container.width, container.height)
108106
.viewbox(vb.x, vb.y, vb.width, vb.height)
109-
.css({ backgroundColor: container.style.color})
110-
.attr('fill', container.style.color)
107+
.css('background', container.style.color )
111108

112109
/**
113110
* Create the base shapes & align them

0 commit comments

Comments
 (0)