Skip to content

Commit 9645b3b

Browse files
committed
make text better readable adrai#31
1 parent c7d002e commit 9645b3b

File tree

7 files changed

+12
-8
lines changed

7 files changed

+12
-8
lines changed

component.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "flowchart",
3-
"version": "1.3.2",
4-
"main": "./release/flowchart-1.3.2.min.js",
3+
"version": "1.3.3",
4+
"main": "./release/flowchart-1.3.3.min.js",
55
"dependencies": {},
66
"ignore": [
77
"src/",

release/flowchart-latest.zip

5 Bytes
Binary file not shown.

release/flowchart.amd-latest.zip

4 Bytes
Binary file not shown.

releasenotes.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1+
### v1.3.3
2+
3+
- make text better readable [#31](https://github.com/adrai/flowchart.js/issues/31)
4+
15
### v1.3.2
26

3-
- Optimized a bit for left support [#26](https://github.com/adrai/flowchart.js/issues/26)
7+
- optimized a bit for left support [#26](https://github.com/adrai/flowchart.js/issues/26)
48

59
### v1.3.1
610

7-
- Added support for css class [#24](https://github.com/adrai/flowchart.js/pull/24)
11+
- added support for css class [#24](https://github.com/adrai/flowchart.js/pull/24)
812

913
### v1.3.0
1014

11-
- Added support for color coding (flowstate) [#23](https://github.com/adrai/flowchart.js/pull/23) thanks to [Stwissel](https://github.com/Stwissel)
15+
- added support for color coding (flowstate) [#23](https://github.com/adrai/flowchart.js/pull/23) thanks to [Stwissel](https://github.com/Stwissel)
1216

1317
### v1.2.12
1418

site

src/flowchart.functions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function drawLine(chart, from, to, text) {
108108
textPath.attr({
109109
'text-anchor': 'start',
110110
'font-size': chart.options['font-size'],
111-
stroke: chart.options['font-color'],
111+
'fill': chart.options['font-color'],
112112
x: x,
113113
y: y
114114
});

src/flowchart.symbol.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function Symbol(chart, options, symbol) {
1616
this.text.attr({
1717
'text-anchor': 'start',
1818
'x' : this.getAttr('text-margin'),
19-
'stroke' : this.getAttr('font-color'),
19+
'fill' : this.getAttr['font-color'],
2020
'font-size' : this.getAttr('font-size')
2121
});
2222

0 commit comments

Comments
 (0)