feature/4ColorProblem #32

Merged
lobo merged 3 commits from feature/4ColorProblem into main 2026-03-08 11:11:19 +01:00
2 changed files with 0 additions and 5 deletions
Showing only changes of commit ab730f8f3b - Show all commits

View File

@@ -57,11 +57,8 @@
<canvas #fourColorCanvas
(mousedown)="onMouseDown($event)"
(mousemove)="onMouseMove($event)"
(mouseup)="onMouseUp()"
(mouseleave)="onMouseUp()"
(touchstart)="onTouchStart($event)"
(touchmove)="onTouchMove($event)"
(touchend)="onMouseUp()"
></canvas>
</div>
</mat-card-content>

View File

@@ -243,8 +243,6 @@ export class FourColorComponent implements AfterViewInit {
this.getGridPos(event);
}
onMouseUp(): void {}
onTouchStart(event: TouchEvent): void {
event.preventDefault();
const touch = event.touches[0];