parent
18bbfe8c15
commit
1c284c948d
|
@ -1,8 +1,9 @@
|
||||||
# SVG-Edit CHANGES
|
# SVG-Edit CHANGES
|
||||||
|
|
||||||
# ?
|
# 4.0.1
|
||||||
|
|
||||||
- Fix: Adjust side panel width checking based on device zoom (fixes #298)
|
- Fix: Adjust side panel width checking based on device zoom (fixes #298)
|
||||||
|
- Fix (regression): RGBColor
|
||||||
|
|
||||||
# 4.0.0
|
# 4.0.0
|
||||||
|
|
||||||
|
|
|
@ -452,7 +452,7 @@ var canvg = (function (exports) {
|
||||||
var bits = re.exec(colorString);
|
var bits = re.exec(colorString);
|
||||||
|
|
||||||
if (bits) {
|
if (bits) {
|
||||||
var _processor = processor(bits),
|
var _processor = processor.apply(void 0, _toConsumableArray(bits)),
|
||||||
_processor2 = _slicedToArray(_processor, 3),
|
_processor2 = _slicedToArray(_processor, 3),
|
||||||
r = _processor2[0],
|
r = _processor2[0],
|
||||||
g = _processor2[1],
|
g = _processor2[1],
|
||||||
|
|
|
@ -452,7 +452,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
||||||
var bits = re.exec(colorString);
|
var bits = re.exec(colorString);
|
||||||
|
|
||||||
if (bits) {
|
if (bits) {
|
||||||
var _processor = processor(bits),
|
var _processor = processor.apply(void 0, _toConsumableArray(bits)),
|
||||||
_processor2 = _slicedToArray(_processor, 3),
|
_processor2 = _slicedToArray(_processor, 3),
|
||||||
r = _processor2[0],
|
r = _processor2[0],
|
||||||
g = _processor2[1],
|
g = _processor2[1],
|
||||||
|
|
|
@ -452,7 +452,7 @@ var svgEditorExtension_server_opensave = (function () {
|
||||||
var bits = re.exec(colorString);
|
var bits = re.exec(colorString);
|
||||||
|
|
||||||
if (bits) {
|
if (bits) {
|
||||||
var _processor = processor(bits),
|
var _processor = processor.apply(void 0, _toConsumableArray(bits)),
|
||||||
_processor2 = _slicedToArray(_processor, 3),
|
_processor2 = _slicedToArray(_processor, 3),
|
||||||
r = _processor2[0],
|
r = _processor2[0],
|
||||||
g = _processor2[1],
|
g = _processor2[1],
|
||||||
|
|
|
@ -309,7 +309,7 @@
|
||||||
var bits = re.exec(colorString);
|
var bits = re.exec(colorString);
|
||||||
|
|
||||||
if (bits) {
|
if (bits) {
|
||||||
var _processor = processor(bits),
|
var _processor = processor.apply(void 0, _toConsumableArray(bits)),
|
||||||
_processor2 = _slicedToArray(_processor, 3),
|
_processor2 = _slicedToArray(_processor, 3),
|
||||||
r = _processor2[0],
|
r = _processor2[0],
|
||||||
g = _processor2[1],
|
g = _processor2[1],
|
||||||
|
|
|
@ -206,7 +206,7 @@ export default class RGBColor {
|
||||||
colorDefs.forEach(({re, process: processor}) => {
|
colorDefs.forEach(({re, process: processor}) => {
|
||||||
const bits = re.exec(colorString);
|
const bits = re.exec(colorString);
|
||||||
if (bits) {
|
if (bits) {
|
||||||
const [r, g, b] = processor(bits);
|
const [r, g, b] = processor(...bits);
|
||||||
Object.assign(this, {r, g, b});
|
Object.assign(this, {r, g, b});
|
||||||
this.ok = true;
|
this.ok = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "svgedit",
|
"name": "svgedit",
|
||||||
"version": "4.0.0",
|
"version": "4.0.1",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "svgedit",
|
"name": "svgedit",
|
||||||
"version": "4.0.0",
|
"version": "4.0.1",
|
||||||
"description": "Powerful SVG-Editor for your browser ",
|
"description": "Powerful SVG-Editor for your browser ",
|
||||||
"main": "dist/index-umd.js",
|
"main": "dist/index-umd.js",
|
||||||
"module": "dist/index-es.js",
|
"module": "dist/index-es.js",
|
||||||
|
|
Loading…
Reference in New Issue