added button to unlock icons, fix #489
This commit is contained in:
parent
f215d027f9
commit
0305cc6ac7
|
@ -220,6 +220,9 @@
|
||||||
(change)="onEnableFreezeAvatarChanged()" type="checkbox" name="enableFreezeAvatar"
|
(change)="onEnableFreezeAvatarChanged()" type="checkbox" name="enableFreezeAvatar"
|
||||||
value="enableFreezeAvatar" id="enableFreezeAvatar">
|
value="enableFreezeAvatar" id="enableFreezeAvatar">
|
||||||
<label class="noselect sub-section__label" for="enableFreezeAvatar">freeze animated avatar</label>
|
<label class="noselect sub-section__label" for="enableFreezeAvatar">freeze animated avatar</label>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
reorder account's icons: <a href class="toogle-lock-icon-menu" (click)="toogleLockIconMenu()"><span *ngIf="iconMenuLocked">Unlock Icons</span><span *ngIf="!iconMenuLocked">Lock Icons</span></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h4 class="panel__subtitle">About</h4>
|
<h4 class="panel__subtitle">About</h4>
|
||||||
|
|
|
@ -154,3 +154,21 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.toogle-lock-icon-menu {
|
||||||
|
display: block;
|
||||||
|
padding: 3px 40px;
|
||||||
|
width: 170px;
|
||||||
|
|
||||||
|
float: right;
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
color: white;
|
||||||
|
background-color: #1f2330;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
background-color: #32384d;
|
||||||
|
}
|
||||||
|
}
|
|
@ -158,6 +158,13 @@ export class SettingsComponent implements OnInit, OnDestroy {
|
||||||
if(this.languageSub) this.languageSub.unsubscribe();
|
if(this.languageSub) this.languageSub.unsubscribe();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
iconMenuLocked = true;
|
||||||
|
toogleLockIconMenu(): boolean {
|
||||||
|
this.navigationService.changeIconMenuState(this.iconMenuLocked);
|
||||||
|
this.iconMenuLocked = ! this.iconMenuLocked;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
onSearchLang(input: string) {
|
onSearchLang(input: string) {
|
||||||
this.searchedLangs = this.languageService.searchLanguage(input);
|
this.searchedLangs = this.languageService.searchLanguage(input);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue