*/}}
Explorar el Código

Ensure tab only handles header

YimingWu hace 1 año
padre
commit
3616789102
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      resources/la_widgets.c

+ 2 - 2
resources/la_widgets.c

@@ -2600,8 +2600,8 @@ int OPMOD_TabSelector(laOperator *a, laEvent *e){
     int it = 0;
     int page;
 
-    if (!laIsInUiItem(ui, e->x, e->y) || laIsInBound(e->x, e->y, ui->Page->L, ui->Page->R, ui->Page->U, ui->Page->B)){
-        return LA_FINISHED_PASS;
+    if (!laIsInUiItem(ui, e->x, e->y) || (!laIsInBound(e->x, e->y, ui->L, ui->R, ui->U, ui->U+LA_RH))){
+        return LA_FINISHED;
     }
 
     if (e->Type == LA_L_MOUSE_DOWN){