From 68036ea027de6dda4ae9f3f48d853fc791444238 Mon Sep 17 00:00:00 2001 From: Lilit Date: Thu, 6 Aug 2020 11:59:25 +0400 Subject: [PATCH] Fix text issue in tool #8 --- package.json | 2 +- src/assets/js/text.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3bba986..c3c1988 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-image-markup", - "version": "3.1.3", + "version": "3.1.4", "description": "vue-image-markup will provide you to edit uploaded image easily and save it.", "main": "src/Editor.vue", "repository": { diff --git a/src/assets/js/text.js b/src/assets/js/text.js index 220ae01..9b6c0d9 100644 --- a/src/assets/js/text.js +++ b/src/assets/js/text.js @@ -78,7 +78,7 @@ export default (function () { left: this.origX, top: this.origY, fontSize: textFontSize, - fontStyle: textFontStyle, + fontStyle: textFontStyle ? textFontStyle : '', fontWeight: textFontWeight, hasBorders: false, hasControls: false