*/}}
浏览代码

changes to laEvent

YimingWu 10 月之前
父节点
当前提交
4512c39959
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      operator.c

+ 1 - 1
operator.c

@@ -33,7 +33,7 @@ int INV_MyModalOperator(laOperator* a, laEvent* e){
 int MOD_MyModalOperator(laOperator* a, laEvent* e){
     printf("%d,%d\n",e->x,e->y);
     logPrint("%d,%d\n",e->x,e->y);
-    if(e->Type==LA_R_MOUSE_DOWN){
+    if(e->type==LA_R_MOUSE_DOWN){
         printf("Modal opeator finished!\n");
         logPrint("Modal opeator finished!\n");
         return LA_FINISHED;