diff --git a/lib/draw/TextRenderer.js b/lib/draw/TextRenderer.js index c87ef39..f6244e9 100644 --- a/lib/draw/TextRenderer.js +++ b/lib/draw/TextRenderer.js @@ -2,7 +2,7 @@ import { assign } from 'min-dash'; import TextUtil from 'diagram-js/lib/util/Text'; -var DEFAULT_FONT_SIZE = 12; +var DEFAULT_FONT_SIZE = 16; var LINE_HEIGHT_RATIO = 1.2; diff --git a/lib/features/label-editing/LabelEditingProvider.js b/lib/features/label-editing/LabelEditingProvider.js index bd0631e..199e633 100644 --- a/lib/features/label-editing/LabelEditingProvider.js +++ b/lib/features/label-editing/LabelEditingProvider.js @@ -274,6 +274,13 @@ LabelEditingProvider.prototype.getEditingBBox = function(element) { } + // transparent edit box + if (isAny(element, [ 'postit:Postit' ])) { + assign(style, { + backgroundColor: 'transparent' + }); + } + return { bounds: bounds, style: style }; };