*/}}
Explorar el Código

uil sub detect issue?

YimingWu hace 5 meses
padre
commit
60e16a3383
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      la_kernel.c

+ 1 - 1
la_kernel.c

@@ -6714,7 +6714,7 @@ laUiList *la_DetectUiListRecursive(laUiList *uil, int x, int y, int LimH,
         }
 
         if ((ui->Type == _LA_UI_FIXED_GROUP || ui->Type == _LA_UI_TAB) && (ui->Subs.pFirst || ui->Page)){
-            if (ui->Page->HeightCoeff) CPB = ui->B;
+            if (ui->Page->HeightCoeff) CPB = ui->B+ui->Page->PanY;
             else CPB = ui->Page->B;
             if (ui->Page->ScrollerShownV && laIsInBound(x, y, ui->R - LA_SCROLL_W - bt->RP*2, ui->R, ui->Page->U, CPB)){
                 if (ScrollUil) *ScrollUil = ui->Page; if (ParentUi) *ParentUi = ui;