各種調整

This commit is contained in:
harukin-expo-dev-env
2025-09-19 04:34:26 +00:00
parent 85fd66b728
commit c8119e2373
3 changed files with 50 additions and 25 deletions

View File

@@ -230,6 +230,7 @@ export const FixedStation: FC<props> = ({
alignItems: "center",
backgroundColor: lineColor,
paddingHorizontal: 5,
height: 26,
}}
>
<Ionicons name="lock-closed" size={15} color="white" />
@@ -253,11 +254,11 @@ export const FixedStation: FC<props> = ({
borderTopColor: lineColor,
borderBottomColor: "#0000",
borderRightColor: "#0000",
borderBottomWidth: 22,
borderBottomWidth: 26,
borderLeftWidth: 10,
borderRightWidth: 0,
borderTopWidth: 0,
height: 20,
height: 26,
}}
/>
</TouchableOpacity>
@@ -270,7 +271,10 @@ export const FixedStation: FC<props> = ({
alignItems: "center",
}}
onPress={() => {
LayoutAnimation.configureNext(LayoutAnimation.Presets.spring);
LayoutAnimation.configureNext({
duration: 500,
update: { type: "spring", springDamping: 0.7 },
});
if (displaySize === 50) {
setDisplaySize(200);
} else {
@@ -286,11 +290,11 @@ export const FixedStation: FC<props> = ({
borderTopColor: lineColor,
borderBottomColor: "#0000",
borderRightColor: lineColor,
borderBottomWidth: 22,
borderBottomWidth: 26,
borderLeftWidth: 0,
borderRightWidth: 10,
borderTopWidth: 0,
height: 20,
height: 26,
}}
/>
<View
@@ -299,6 +303,7 @@ export const FixedStation: FC<props> = ({
alignItems: "center",
backgroundColor: lineColor,
paddingHorizontal: 5,
height: 26,
}}
pointerEvents="none"
>