*/}}
Browse Source

Ensure tab only handles header

YimingWu 1 year ago
parent
commit
3616789102
1 changed files with 2 additions and 2 deletions
  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){