Skip to content

Commit 608c757

Browse files
author
pipeline
committed
v20.4.53 is released
1 parent dd78e7c commit 608c757

File tree

195 files changed

+2622
-452
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+2622
-452
lines changed

controls/buttons/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 20.4.53 (2023-03-07)
6+
7+
### Checkbox
8+
9+
#### Bug Fixes
10+
11+
- `#I436942` - The issue with "Checkbox checked property is not updated properly at initial rendering" has been resolved.
12+
513
## 20.4.50 (2023-02-14)
614

715
### RadioButton

controls/buttons/src/check-box/check-box.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export class CheckBox extends Component<HTMLInputElement> implements INotifyProp
160160
super(options, <string | HTMLInputElement>element);
161161
}
162162

163-
private changeState(state?: string): void {
163+
private changeState(state?: string, isInitialize?: boolean ): void {
164164
let ariaState: string;
165165
let rippleSpan: Element;
166166
const frameSpan: Element = this.getWrapper().getElementsByClassName(FRAME)[0];
@@ -176,7 +176,7 @@ export class CheckBox extends Component<HTMLInputElement> implements INotifyProp
176176
}
177177
ariaState = 'true';
178178
this.element.checked = true;
179-
if (this.element.required && this.validCheck) {
179+
if (this.element.required && this.validCheck && !isInitialize) {
180180
this.element.checked = false;
181181
this.validCheck = false;
182182
} else if (this.element.required) {
@@ -189,7 +189,7 @@ export class CheckBox extends Component<HTMLInputElement> implements INotifyProp
189189
}
190190
ariaState = 'false';
191191
this.element.checked = false;
192-
if (this.element.required && this.validCheck) {
192+
if (this.element.required && this.validCheck && !isInitialize) {
193193
this.element.checked = true;
194194
this.validCheck = false;
195195
} else if (this.element.required) {
@@ -326,7 +326,7 @@ export class CheckBox extends Component<HTMLInputElement> implements INotifyProp
326326
}
327327
}
328328
if (this.checked) {
329-
this.changeState('check');
329+
this.changeState('check', true);
330330
}
331331
if (this.indeterminate) {
332332
this.changeState();

controls/buttons/themestudio/styles/calendars/daterangepicker/_layout.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@
218218
overflow: $range-visibility-hidden;
219219
padding: $range-list-item-padding;
220220
white-space: $range-text-nowrap;
221+
text-overflow: $range-text-overflow;
221222
}
222223
#{if(&, '&', '*')} .e-list-parent {
223224
margin: $range-value-zero;

controls/buttons/themestudio/styles/grids/grid/_layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3525,7 +3525,7 @@
35253525
border-top: 0;
35263526
}
35273527

3528-
& tr.e-columnheader th:last-child.e-stackedheadercell .e-rhandler.e-rcursor {
3528+
& tr.e-columnheader th:last-child.e-stackedheadercell .e-rhandler.e-rcursor :not(.e-laststackcell) {
35293529
border-right: 0;
35303530
}
35313531

controls/buttons/themestudio/styles/grids/grid/_theme.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,8 @@
549549
}
550550
}
551551

552-
.e-ftrchk.e-chkfocus {
552+
.e-ftrchk.e-chkfocus,
553+
li.e-cclist.e-colfocus {
553554
background-color: $grid-hover-bg-color;
554555
}
555556
}

controls/buttons/themestudio/styles/navigations/context-menu/_fluent-definition.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ $cmenu-caret-blank-icon: $text-base !default;
1111
$cmenu-caret-font-size: 16px !default;
1212
$cmenu-caret-icon: '\e7c2' !default;
1313
$cmenu-caret-icon-rtl: '\e7c1' !default;
14-
$cmenu-caret-li-padding: 24px !default;
14+
$cmenu-caret-li-padding: 36px !default;
1515
$cmenu-caret-right: 7px !default;
1616
$cmenu-icon-margin-right: 8px !default;
1717
$cmenu-li-height: 36px !default;

controls/buttons/themestudio/styles/navigations/treeview/_bootstrap4-definition.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $treeview-big-icon-size: 24px !default;
5656
$treeview-icon-margin: 0 4px 0 -24px !default;
5757
$treeview-drag-icon-margin: 0 8px 8px -24px;
5858
$treeview-big-icon-margin: 0 0 0 -24px !default;
59-
$treeview-rtl-icon-margin: -0.5px -24px 0 0 !default;
59+
$treeview-rtl-icon-margin: -0.5px -20px 0 0 !default;
6060
$treeview-rtl-drag-margin: 10px -13px -1px 0;
6161
$treeview-icon-padding: 6px !default;
6262
$treeview-text-padding: 0 8px 0 6px !default;

controls/charts/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 20.4.53 (2023-03-07)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I441035` - Fixed issue with page becoming unresponsive when zooming chart too quickly.
12+
513
## 20.4.52 (2023-02-28)
614

715
### Chart

controls/charts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-charts",
3-
"version": "20.4.51",
3+
"version": "20.4.52",
44
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/charts/src/accumulation-chart/accumulation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ export class AccumulationChart extends Component<HTMLElement> implements INotify
837837
if (this.element.className.indexOf('e-accumulationchart') === -1) {
838838
this.element.classList.add('e-accumulationchart');
839839
}
840-
this.element.setAttribute('role', 'chart');
840+
this.element.setAttribute('role', 'region');
841841
this.element.setAttribute('tabindex', '0');
842842
this.element.setAttribute('aria-label', this.title);
843843
this.element.setAttribute('class', this.element.getAttribute('class') + ' e-accumulationchart-focused');

controls/charts/src/accumulation-chart/renderer/funnel-series.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class FunnelSeries extends TriangularBase {
114114
point.midAngle = 0;
115115
options.d = direction;
116116
const element: Element = chart.renderer.drawPath(options);
117-
element.setAttribute('role', 'data');
117+
element.setAttribute('role', 'img');
118118
element.setAttribute('tabindex', point.index === 0 ? '0' : '');
119119
element.setAttribute('aria-label', (point.x + ':' + point.y + '%. ' + series.name));
120120
appendChildElement(false, seriesGroup, element, redraw);

controls/charts/src/accumulation-chart/renderer/pie-series.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ export class PieSeries extends PieBase {
3838
point.symbolLocation = degreeToLocation(point.midAngle, (this.radius + this.innerRadius) / 2, this.center);
3939
if (!redraw) {
4040
const element: Element = chart.renderer.drawPath(option);
41-
element.setAttribute('role', 'data');
41+
element.setAttribute('role', 'img');
4242
element.setAttribute('tabindex', point.index === 0 ? '0' : '');
4343
element.setAttribute('aria-label', (point.x + ': ' + point.y + '%. ' + series.name));
4444
seriesGroup.appendChild(element);
4545
point.degree = degree;
4646
point.start = start;
4747
} else {
4848
const element: Element = chart.renderer.drawPath(option);
49-
element.setAttribute('role', 'data');
49+
element.setAttribute('role', 'img');
5050
element.setAttribute('tabindex', point.index === 0 ? '0' : '');
5151
element.setAttribute('aria-label', (point.x + ': ' + point.y + '%. ' + series.name));
5252
seriesGroup.appendChild(element);

controls/charts/src/accumulation-chart/renderer/pyramid-series.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class PyramidSeries extends TriangularBase {
150150
options.d = this.getSegmentData(point, series, chart);
151151
point.midAngle = 0;
152152
const element: Element = chart.renderer.drawPath(options);
153-
element.setAttribute('role', 'data');
153+
element.setAttribute('role', 'img');
154154
element.setAttribute('tabindex', point.index === 0 ? '0' : '');
155155
element.setAttribute('aria-label', (point.x + ': ' + point.y + '%. ' + series.name));
156156
appendChildElement(false, seriesGroup, element, redraw);

controls/charts/src/bullet-chart/renderer/scale-render.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export class ScaleGroup {
216216
const svgRect: Element = this.bulletChart.renderer.drawRectangle(featureBarOptions);
217217
svgRect.setAttribute('class', this.bulletChart.svgObject.id + '_FeatureMeasure');
218218
svgRect.id = this.bulletChart.svgObject.id + '_FeatureMeasure_' + i;
219-
svgRect.setAttribute('role', 'data');
219+
svgRect.setAttribute('role', 'img');
220220
svgRect.setAttribute('aria-label', (this.bulletChart.title + ', value: ' + this.bulletChart.dataSource[i as number].value + ', target: ' + this.bulletChart.dataSource[i as number].target));
221221
return svgRect;
222222
}
@@ -232,7 +232,7 @@ export class ScaleGroup {
232232
const svgRect: Element = this.bulletChart.renderer.drawRectangle(featureBarOptions);
233233
svgRect.setAttribute('class', this.bulletChart.svgObject.id + '_FeatureMeasure');
234234
svgRect.id = this.bulletChart.svgObject.id + '_FeatureMeasure_' + i;
235-
svgRect.setAttribute('role', 'data');
235+
svgRect.setAttribute('role', 'img');
236236
svgRect.setAttribute('aria-label', (this.bulletChart.title + ', value: ' + this.bulletChart.dataSource[i as number].value + ', target: ' + this.bulletChart.dataSource[i as number].target));
237237
return svgRect;
238238
}

controls/charts/src/chart/axis/date-time-axis.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,11 @@ export class DateTime extends NiceInterval {
317317
}
318318
triggerLabelRender(chart, tempInterval, axis.format(new Date(tempInterval)), labelStyle, axis);
319319
}
320+
let actualInterval: number = tempInterval;
320321
tempInterval = this.increaseDateTimeInterval(axis, tempInterval, axis.visibleRange.interval).getTime();
322+
if (actualInterval === tempInterval) {
323+
break;
324+
}
321325
}
322326
//tooltip and crosshair formats for 'Months' and 'Days' interval types
323327
if ((axis.actualIntervalType === 'Months' || axis.actualIntervalType === 'Days') && axis.isChart) {

controls/charts/src/chart/chart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,7 @@ export class Chart extends Component<HTMLElement> implements INotifyPropertyChan
16791679
if (this.tooltipModule) {
16801680
this.tooltipModule.previousPoints = [];
16811681
}
1682-
this.element.setAttribute('role', 'chart');
1682+
this.element.setAttribute('role', 'region');
16831683
this.element.setAttribute('tabindex', '0');
16841684
this.element.setAttribute('aria-label', this.description || this.title);
16851685
this.element.setAttribute('class', this.element.getAttribute('class') + ' e-chart-focused');

controls/charts/src/chart/series/candle-series.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class CandleSeries extends ColumnBase {
169169
const previousDirection: string = element ? element.getAttribute('d') : null;
170170
const candleElement: HTMLElement =
171171
series.chart.renderer.drawPath(options, new Int32Array([series.clipRect.x, series.clipRect.y])) as HTMLElement;
172-
candleElement.setAttribute('role', 'data');
172+
candleElement.setAttribute('role', 'img');
173173
candleElement.setAttribute('aria-label', point.x.toString() + ':' + point.high.toString()
174174
+ ':' + point.low.toString() + ':' + point.close.toString() + ':' + point.open.toString());
175175
if (!series.chart.enableCanvas) {

controls/charts/src/chart/series/chart-series.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2208,7 +2208,7 @@ export class Series extends SeriesBase {
22082208
'clip-path': 'url(#' + elementId + '_ChartSeriesClipRect_' + index + ')'
22092209
});
22102210
if (this.seriesElement) {
2211-
this.seriesElement.setAttribute('role', 'series');
2211+
this.seriesElement.setAttribute('role', 'region');
22122212
this.seriesElement.setAttribute('aria-label', (this.name + ',' + this.type + ' series with ' + this.points.length + ' data points'));
22132213
this.seriesElement.setAttribute('aria-hidden', 'false');
22142214
}

controls/charts/src/chart/series/column-base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,11 @@ export class ColumnBase {
268268
) as HTMLElement;
269269
switch (series.seriesType) {
270270
case 'XY':
271-
element.setAttribute('role', 'data');
271+
element.setAttribute('role', 'img');
272272
element.setAttribute('aria-label', point.x + ':' + point.yValue + ', ' + series.name);
273273
break;
274274
case 'HighLow':
275-
element.setAttribute('role', 'data');
275+
element.setAttribute('role', 'img');
276276
element.setAttribute('aria-label', point.x + ':' + point.high + ', ' + point.low + ', ' + series.name);
277277
break;
278278
}

controls/charts/src/chart/series/hilo-open-close-series.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export class HiloOpenCloseSeries extends ColumnBase {
132132
pathAnimation(getElement(options.id), direction, series.chart.redraw);
133133
const element: HTMLElement =
134134
series.chart.renderer.drawPath(options, new Int32Array([series.clipRect.x, series.clipRect.y])) as HTMLElement;
135-
element.setAttribute('role', 'data');
135+
element.setAttribute('role', 'img');
136136
element.setAttribute('aria-label', point.x.toString() + ':' + point.high.toString()
137137
+ ':' + point.low.toString() + ':' + point.close.toString() + ':' + point.open.toString());
138138
if (!series.chart.enableCanvas) {

controls/charts/src/chart/series/marker-explode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export class MarkerExplode extends ChartData {
230230
seletionElem.hasAttribute('class') && (className === seletionElem.getAttribute('class'))) {
231231
symbol.classList.add(className);
232232
}
233-
symbol.setAttribute('role', 'data');
233+
symbol.setAttribute('role', 'img');
234234
symbol.setAttribute('clip-path', element.getAttribute('clip-path'));
235235
symbol.setAttribute('transform', element.getAttribute('transform'));
236236
this.chart.svgObject.appendChild(symbol);

controls/charts/src/chart/series/marker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export class Marker extends MarkerExplode {
142142
point.x.toString() + ':' + y.toString(), this.chart.renderer, series.clipRect
143143
);
144144
if (markerElement) {
145-
markerElement.setAttribute('role', 'data');
145+
markerElement.setAttribute('role', 'img');
146146
markerElement.setAttribute('aria-label', (point.x + ': ' + point.y + ', ' + series.name));
147147
}
148148
appendChildElement(

controls/charts/src/smithchart/series/marker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export class Marker {
101101
markerEle = smithchart.renderer.drawPath(pathOptions) as SVGPathElement;
102102
break;
103103
}
104-
markerEle.setAttribute('role', 'data');
104+
markerEle.setAttribute('role', 'img');
105105
markerEle.setAttribute('aria-label', 'x: ' + (location.x) + ', ' + 'y: ' + (location.y));
106106
return markerEle;
107107
}

controls/charts/src/smithchart/smithchart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ export class Smithchart extends Component<HTMLElement> implements INotifyPropert
488488
}
489489
private initPrivateVariable(): void {
490490
this.animateSeries = true;
491-
this.element.setAttribute('role', 'chart');
491+
this.element.setAttribute('role', 'region');
492492
this.element.setAttribute('aria-label', this.title.description || this.title.text);
493493
this.element.setAttribute('tabindex', '0');
494494
}

controls/data/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 20.4.52 (2023-02-28)
5+
## 20.4.53 (2023-03-07)
66

77
### DataManager
88

controls/diagrams/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
## [Unreleased]
44

5+
## 20.4.53 (2023-03-07)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `#I422049` - Now, calling doLayout after injecting line routing module working fine.
12+
- `#F180577` - Now, Send to back command is working when there is single node in layer.
13+
- `#I436649` - Now, connector segment does not get split into multiple segment for top to bottom approach.
14+
15+
## [Unreleased]
16+
517
## 20.4.52 (2023-02-28)
618

719
### Diagram

controls/diagrams/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-diagrams",
3-
"version": "20.4.50",
3+
"version": "20.4.52",
44
"description": "Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/diagrams/spec/diagram/diagram/pagesettings.spec.ts

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3509,4 +3509,82 @@ describe('Unable to drag connector end thumb and resize node handler when we inc
35093509
expect(diagram.nodes[0].offsetY == 600).toBe(true);
35103510
done();
35113511
});
3512+
});
3513+
describe('Check whether connector segment overlap node - BottomToTop', () => {
3514+
let diagram: Diagram;
3515+
let ele: HTMLElement;
3516+
3517+
beforeAll(() => {
3518+
3519+
ele = createElement('div', { id: 'diagramsegment' });
3520+
document.body.appendChild(ele);
3521+
3522+
let nodes: NodeModel[] = [
3523+
{
3524+
id: 'node1', height: 50, width: 100, offsetX: 600, offsetY: 100, annotations: [{ content: 'Node1' }],
3525+
ports: [
3526+
{ id: 'left', offset: { x: 0, y: 0.5 }, visibility: PortVisibility.Visible, constraints: PortConstraints.Default },
3527+
{ id: 'top', offset: { x: 0.5, y: 0 }, visibility: PortVisibility.Visible, constraints: PortConstraints.Default },
3528+
{ id: 'right', offset: { x: 1, y: 0.5 }, visibility: PortVisibility.Visible, constraints: PortConstraints.Default },
3529+
{ id: 'bottom', offset: { x: 0.5, y: 1 }, visibility: PortVisibility.Visible, constraints: PortConstraints.Default }
3530+
]
3531+
},
3532+
{
3533+
id: 'node2', height: 50, width: 100, offsetX: 250, offsetY: 400, annotations: [{ content: 'Node2' }],
3534+
ports: [
3535+
{ id: 'left', offset: { x: 0, y: 0.5 }, visibility: PortVisibility.Visible, constraints: PortConstraints.Default },
3536+
{ id: 'top', offset: { x: 0.5, y: 0 }, visibility: PortVisibility.Visible, constraints: PortConstraints.Default },
3537+
{ id: 'right', offset: { x: 1, y: 0.5 }, visibility: PortVisibility.Visible, constraints: PortConstraints.Default },
3538+
{ id: 'bottom', offset: { x: 0.5, y: 1 }, visibility: PortVisibility.Visible, constraints: PortConstraints.Default }
3539+
]
3540+
}
3541+
];
3542+
3543+
let connectors: ConnectorModel[] = [
3544+
{
3545+
id: 'connector1', sourceID: 'node1', targetID: 'node2', sourcePortID: 'bottom', targetPortID: 'top'
3546+
}
3547+
];
3548+
diagram = new Diagram({
3549+
width: '900px', height: '500px', nodes: nodes, connectors: connectors,
3550+
getConnectorDefaults: function (connector: ConnectorModel) {
3551+
connector.type = 'Orthogonal';
3552+
connector.constraints = ConnectorConstraints.Default | ConnectorConstraints.DragSegmentThumb;
3553+
connector.maxSegmentThumb = 3;
3554+
connector.allowNodeOverlap = true;
3555+
}
3556+
});
3557+
diagram.appendTo('#diagramsegment');
3558+
3559+
});
3560+
afterAll(() => {
3561+
diagram.destroy();
3562+
ele.remove();
3563+
});
3564+
it('Move Middle segment towards target node', function (done) {
3565+
let mouseEvents: MouseEvents = new MouseEvents();
3566+
let diagramCanvas: HTMLElement = document.getElementById(diagram.element.id + 'content');
3567+
diagram.select([diagram.connectors[0]]);
3568+
let element: HTMLElement = document.getElementById('orthoThumb_1_2');
3569+
let bounds: any = element.getBoundingClientRect();
3570+
mouseEvents.mouseDownEvent(diagramCanvas, bounds.x, bounds.y);
3571+
mouseEvents.mouseMoveEvent(diagramCanvas, bounds.x, bounds.y + 250);
3572+
mouseEvents.mouseUpEvent(diagramCanvas, bounds.x, bounds.y + 250);
3573+
let connector: ConnectorModel = diagram.connectors[0];
3574+
expect(connector.segments.length === 3).toBe(true);
3575+
done();
3576+
});
3577+
it('Move First segment towards source node and check whether connector does not get intersect', function (done) {
3578+
let mouseEvents: MouseEvents = new MouseEvents();
3579+
let diagramCanvas: HTMLElement = document.getElementById(diagram.element.id + 'content');
3580+
let element: HTMLElement = document.getElementById('orthoThumb_2_1');
3581+
let bounds: any = element.getBoundingClientRect();
3582+
mouseEvents.mouseDownEvent(diagramCanvas, bounds.x, bounds.y);
3583+
mouseEvents.mouseMoveEvent(diagramCanvas, bounds.x, bounds.y - 350);
3584+
mouseEvents.mouseUpEvent(diagramCanvas, bounds.x, bounds.y - 350);
3585+
let connector: ConnectorModel = diagram.connectors[0];
3586+
expect(connector.segments.length === 3).toBe(true);
3587+
done();
3588+
});
3589+
35123590
});

0 commit comments

Comments
 (0)