fix navbar height 1.2.45+

This commit is contained in:
amd64fox
2024-09-02 12:59:12 +03:00
parent e4253530f2
commit 6753fb548f
2 changed files with 14 additions and 1 deletions

View File

@@ -1162,7 +1162,7 @@ function Helper($paramname) {
if (!($plus)) { Move-Json -n "Plus", "AlignedCurationSavedIn" -t $Enable -f $Disable }
if (!($topsearchbar) -and [version]$offline -le [version]"1.2.44.405") {
if (!($topsearchbar)) {
Move-Json -n "GlobalNavBar", "RecentSearchesDropdown" -t $Enable -f $Disable
$Custom.GlobalNavBar.value = "control"
}
@@ -1316,6 +1316,11 @@ function Helper($paramname) {
$VarJs = $webjson.VariousJs
if ($topsearchbar) {
Remove-Json -j $VarJs -p "fixTitlebarHeight"
}
if (!($lyrics_block)) { Remove-Json -j $VarJs -p "lyrics-block" }
else {