Skip to content

Commit f6e4e46

Browse files
committed
chore(demo-app): removed unused preventCollision control in multi item drag & resize page
1 parent aa6d929 commit f6e4e46

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

projects/demo-app/src/app/multi-item-handler/multi-item-handler.component.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@
3030
<mat-option [value]="null">-</mat-option>
3131
</mat-select>
3232
</mat-form-field>
33-
<mat-checkbox
34-
color="accent"
35-
[checked]="preventCollision"
36-
(change)="onPreventCollisionChange($event.checked)">
37-
Prevent Collision
38-
</mat-checkbox>
3933
</div>
4034
</div>
4135
</div>
@@ -56,7 +50,6 @@
5650
[rowHeight]="rowHeight"
5751
[layout]="layout"
5852
[compactType]="compactType"
59-
[preventCollision]="preventCollision"
6053
[gap]="10"
6154
[scrollableParent]="document"
6255
[scrollSpeed]="4"

projects/demo-app/src/app/multi-item-handler/multi-item-handler.component.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ export class KtdMultiItemHandlerComponent implements OnInit, OnDestroy {
382382
cols = 62;
383383
rowHeight = 32;
384384
compactType: 'vertical' | 'horizontal' | null = 'vertical';
385-
preventCollision = false;
386385
selectedItems: string[] = [];
387386
copiedItems: number
388387
layout: KtdGridLayout = realLifeLayoutSmall;
@@ -447,11 +446,6 @@ export class KtdMultiItemHandlerComponent implements OnInit, OnDestroy {
447446
this.compactType = change.value;
448447
}
449448

450-
onPreventCollisionChange(checked: boolean) {
451-
console.log('onPreventCollisionChange', checked);
452-
this.preventCollision = checked;
453-
}
454-
455449
onLayoutUpdated(layout: KtdGridLayout) {
456450
console.log('onLayoutUpdated', layout);
457451
this.layout = layout;

0 commit comments

Comments
 (0)