*/}}
Prechádzať zdrojové kódy

uil sub detect issue?

YimingWu 5 mesiacov pred
rodič
commit
60e16a3383
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;