Skip to content

Commit

Permalink
undo redo
Browse files Browse the repository at this point in the history
  • Loading branch information
AnselChang committed Apr 6, 2024
1 parent c8d621d commit 58d911a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/app/component/new-grid/new-grid.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
font-weight: lighter;

#unitsLabel {
poition: absolute;
position: absolute;
top: 30px;
right: 30px;
}
Expand Down
16 changes: 8 additions & 8 deletions src/app/component/toolbar/toolbar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@
<mat-icon>bug_report</mat-icon>
Debug
</button>
<!-- <button mat-button (click)='handleUndo()' matTooltip='Undo' [disabled]='!canUndo()' matTooltipShowDelay='1000'>-->
<!-- <mat-icon>undo</mat-icon>-->
<!-- Undo-->
<!-- </button>-->
<!-- <button mat-button (click)='handleRedo()' matTooltip='Redo' [disabled]='!canRedo()' matTooltipShowDelay='1000'>-->
<!-- <mat-icon>redo</mat-icon>-->
<!-- Redo-->
<!-- </button>-->
<button mat-button (click)='handleUndo()' matTooltip='Undo' [disabled]='!canUndo()' matTooltipShowDelay='1000'>
<mat-icon>undo</mat-icon>
Undo
</button>
<button mat-button (click)='handleRedo()' matTooltip='Redo' [disabled]='!canRedo()' matTooltipShowDelay='1000'>
<mat-icon>redo</mat-icon>
Redo
</button>
<button mat-button (click)='openRightPanelSettings()' matTooltip='Change Linkage Settings' matTooltipShowDelay='1000'>
<mat-icon>settings</mat-icon>
Settings
Expand Down

0 comments on commit 58d911a

Please sign in to comment.