修复了周边事件绘制后的点击事件被响应为了V2X的bug

This commit is contained in:
董宏宇
2020-08-13 15:13:39 +08:00
parent 57bc9af0f8
commit 976de0035b
2 changed files with 2 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ public interface IMogoMarkerClickListener {
* 事件是否继续往下传递
*
* @param marker
* @return true - 时间已经处理完毕不继续往下传,否则继续往下传
* @return true - 事件已经处理完毕不继续往下传,否则继续往下传
*/
boolean onMarkerClicked( IMogoMarker marker );
}

View File

@@ -55,7 +55,6 @@ import java.util.List;
import java.util.Map;
import static android.view.View.OVER_SCROLL_NEVER;
import static com.mogo.module.v2x.V2XConst.MODULE_NAME;
/**
* 周边事件
@@ -312,7 +311,7 @@ public class V2XSurroundingFragment extends MvpFragment<SurroundingEventView, Su
mogoMarker.startScaleAnimation(1.2f, 1, 1.2f, 1, 100, new LinearInterpolator(), null);
}
});
mogoMarker.setOwner(MODULE_NAME);
mogoMarker.setOwner(markerShowEntity.getMarkerType());
mogoMarker.setObject(markerShowEntity);
}
}, i * 100L);