Skip to content

Commit

Permalink
update: Thu 08 Aug 2024 14:24:43 CEST
Browse files Browse the repository at this point in the history
  • Loading branch information
cophilot committed Aug 8, 2024
1 parent 142a59c commit d6bb1be
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/app/cookie-message/cookie-message.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
color: white;
font-size: 1.2rem;
}
button {
font-weight: bold;
}
}

.cookie-accept {
Expand Down
4 changes: 2 additions & 2 deletions src/app/my-icon/my-icon.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
(mouseenter)="showDescription($event)"
(mouseleave)="hideDescription()"
>
<i [class]="name" *ngIf="!textIcon" [style.fontSize.px]="size"></i>
<i [class]="name" [style.fontSize.px]="size"></i>
<b *ngIf="textIcon" [style.fontSize.px]="size">
{{ name }}
{{ text }}
</b>
</div>
1 change: 1 addition & 0 deletions src/app/my-icon/my-icon.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export class MyIconComponent {
@Input() description: string = '';
@Input() border: boolean = false;
@Input() textIcon: boolean = false;
@Input() text: string = '';

showDescription(event: MouseEvent) {
InfoBoxComponent.show(this.description);
Expand Down
4 changes: 2 additions & 2 deletions src/app/play-bar/play-bar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</div>
<div class="container" *ngIf="isVisible">
<app-my-icon
[name]="'x' + getZoomFactor().toFixed(2)"
[text]="'x' + getZoomFactor().toFixed(2)"
[textIcon]="true"
[size]="16"
(click)="resetZoom()"
Expand Down Expand Up @@ -50,7 +50,7 @@
</app-my-icon>
<app-my-icon
*ngIf="isVisible"
[name]="'x' + playSpeed"
[text]="'x' + playSpeed"
(click)="toggleSpeed()"
[textIcon]="true"
[size]="20"
Expand Down
4 changes: 4 additions & 0 deletions src/app/settings/settings/settings.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ <h2>Behavior</h2>
{{ getSettings().getCollisionMode() }}
</button>
</div>
<div class="row">
<p class="label">Execution precision</p>
<button class="actionButton">TODO</button>
</div>
<h2>Examples</h2>
<div class="row">
<p class="label">Earth & Moon</p>
Expand Down

0 comments on commit d6bb1be

Please sign in to comment.