*/}}
ソースを参照

Why did keep the ui list detect in collection selector

YimingWu 3 ヶ月 前
コミット
4c01633aff
1 ファイル変更8 行追加8 行削除
  1. 8 8
      resources/la_widgets.c

+ 8 - 8
resources/la_widgets.c

@@ -3238,14 +3238,14 @@ int OPMOD_CollectionSelector(laOperator *a, laEvent *e){
         return LA_FINISHED;
     }
 
-    int lx = e->x, ly = e->y;
-    laUiList *ToUil =
-        a->ToPanel->MenuRefer ? a->ToPanel->MenuRefer : &a->ToPanel->UI;
-    laUiList* uil = la_DetectUiListRecursive(ToUil, lx, ly, 10000, 0, 0, 0, 0, 0);
-    if (uil != ((laUiListDrawItem *)a->LocalUiLists.pFirst)->Target) {
-        printf("%d %d EXIT\n",((laUiListDrawItem *)a->LocalUiLists.pFirst)->Target, uil);
-        return LA_FINISHED;
-    }
+    //int lx = e->x, ly = e->y;
+    //laUiList *ToUil =
+    //    a->ToPanel->MenuRefer ? a->ToPanel->MenuRefer : &a->ToPanel->UI;
+    //laUiList* uil = la_DetectUiListRecursive(ToUil, lx, ly, 10000, 0, 0, 0, 0, 0);
+    //if (uil != ((laUiListDrawItem *)a->LocalUiLists.pFirst)->Target) {
+    //    printf("%d %d EXIT\n",((laUiListDrawItem *)a->LocalUiLists.pFirst)->Target, uil);
+    //    return LA_FINISHED;
+    //}
 
     if (e->type == LA_TIME_IDLE && !ui->State && !NoTooltip){
         int GX = e->x, GY = e->y; laLocalToWindow(a, a->ToPanel, &GX, &GY);