*/}}
Explorar o código

-H padding fix

YimingWu hai 1 ano
pai
achega
951fba49c8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      la_kernel.c

+ 1 - 1
la_kernel.c

@@ -4918,7 +4918,7 @@ int la_UpdateUiListRecursive(laUiList *uil, int U, int L, int R, int B, int Fast
         H = ui->Type->GetHeight ? ui->Type->GetHeight(ui) : 1;
         ui->TU = ui->C->B + (NoGap?_PT:bt->TP);
         if (H < 0){
-            if(B){ H = B + (H+1) * LA_RH - ui->TU; }
+            if(B){ H = B + (H+1) * LA_RH - ui->TU+_PB; }
             else{ H=LA_RH; }
         } 
         else H *= LA_RH;