threwの動作条件をおまけで変更
This commit is contained in:
parent
c0f7a9b931
commit
a7ccb0b41f
@ -170,12 +170,12 @@ export const EachTrainInfoCore = ({
|
|||||||
const position = points.findIndex((d) => d == true);
|
const position = points.findIndex((d) => d == true);
|
||||||
let isThrew = false;
|
let isThrew = false;
|
||||||
if (position == -1) return () => {};
|
if (position == -1) return () => {};
|
||||||
|
setShowThrew(true);
|
||||||
if (trainDataWidhThrough[position].split(",")[1] == "通過") {
|
if (trainDataWidhThrough[position].split(",")[1] == "通過") {
|
||||||
LayoutAnimation.configureNext({
|
LayoutAnimation.configureNext({
|
||||||
duration: 400,
|
duration: 400,
|
||||||
update: { type: "easeInEaseOut", springDamping: 0.6 },
|
update: { type: "easeInEaseOut", springDamping: 0.6 },
|
||||||
});
|
});
|
||||||
setShowThrew(true);
|
|
||||||
isThrew = true;
|
isThrew = true;
|
||||||
}
|
}
|
||||||
if (position < 5) {
|
if (position < 5) {
|
||||||
|
Loading…
Reference in New Issue
Block a user