Always show author text

This commit is contained in:
aNNiMON 2024-05-25 00:14:48 +03:00
parent 801b78813a
commit e3996afc76
2 changed files with 4 additions and 4 deletions

View File

@ -39,18 +39,18 @@ body {
}
#textAuthor {
margin: 5px 0 10px 20px;
margin: 0.5rem 0 0.4rem 1.5rem;
color: white;
}
#textContent {
color: #DEC88C;
margin: 0 10px;
margin: 0 2rem;
}
.sprite {
position: absolute;
bottom: 0px;
bottom: 0;
}
#menu {

View File

@ -88,7 +88,7 @@ export class MainView implements ViewModel {
}
public text(text: string): void {
this.elTextAuthor.innerText = '';
this.elTextAuthor.textContent = "\u00A0";
if (TextUtils.isEmpty(text)) this.windowHide("");
else {
this.windowShow("");