Compare commits

...

3 Commits

Author SHA1 Message Date
harukin-expo-dev-env
dc413894ab Merge commit '3c14d73c9db17f792f867c70f0a5368fa164b762' into develop 2024-09-02 08:10:10 +00:00
harukin-expo-dev-env
3c14d73c9d 外枠の位置を修正 2024-09-02 08:09:52 +00:00
harukin-expo-dev-env
e94a10c86c iosで黒型駅名標がはみ出るバグを修正 2024-09-02 05:23:35 +00:00
2 changed files with 12 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import React, { CSSProperties, FC } from "react";
import { widthPercentageToDP as wp } from "react-native-responsive-screen";
import { Text, TextStyle, View, ViewStyle } from "react-native";
import { Platform, Text, TextStyle, View, ViewStyle } from "react-native";
import { StationName } from "./StationName";
import lineColorList from "../../assets/originData/lineColorList";
export const NextPreStationLine = ({ nexStation, preStation, isMatsuyama }) => {
@ -65,7 +65,7 @@ const BottomStationNumberView: FC<FCimport> = ({ isMatsuyama, children }) => {
<View style={{ flex: 1 }} />
<Text
style={{
fontSize: parseInt("10%"),
fontSize: parseInt(Platform.OS === "ios" ? "8%" : "10%"),
color: "black",
textAlign: "center",
fontWeight: "bold",

View File

@ -124,7 +124,11 @@ export default function Sign(props) {
setTestButtonStatus(!testButtonStatus);
};
return (
<TouchableOpacity style={styleSheet.外枠} onPress={oP} onLongPress={oLP}>
<TouchableOpacity
style={styleSheet[isMatsuyama ? "外枠B" : "外枠"]}
onPress={oP}
onLongPress={oLP}
>
{isMatsuyama && (
<LottieView
autoPlay
@ -174,6 +178,11 @@ const styleSheet = {
borderWidth: 1,
backgroundColor: "white",
},
外枠B: {
width: wp("80%"),
height: (wp("80%") / 20) * 9,
borderWidth: 0,
},
下帯: {
position: "absolute",
bottom: "0%",