mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Merge pull request #4460 from jonathan-r-young/develop
Changed C4 stereotype braces to «»
This commit is contained in:
commit
6d4a064df2
@ -220,7 +220,7 @@ export const drawC4ShapeArray = function (currentBounds, diagram, c4ShapeArray,
|
|||||||
let c4ShapeTypeConf = c4ShapeFont(conf, c4Shape.typeC4Shape.text);
|
let c4ShapeTypeConf = c4ShapeFont(conf, c4Shape.typeC4Shape.text);
|
||||||
c4ShapeTypeConf.fontSize = c4ShapeTypeConf.fontSize - 2;
|
c4ShapeTypeConf.fontSize = c4ShapeTypeConf.fontSize - 2;
|
||||||
c4Shape.typeC4Shape.width = calculateTextWidth(
|
c4Shape.typeC4Shape.width = calculateTextWidth(
|
||||||
'<<' + c4Shape.typeC4Shape.text + '>>',
|
'«' + c4Shape.typeC4Shape.text + '»',
|
||||||
c4ShapeTypeConf
|
c4ShapeTypeConf
|
||||||
);
|
);
|
||||||
c4Shape.typeC4Shape.height = c4ShapeTypeConf.fontSize + 2;
|
c4Shape.typeC4Shape.height = c4ShapeTypeConf.fontSize + 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user