cssを修正
This commit is contained in:
parent
aefbf68401
commit
af30d1cbb0
@ -34,15 +34,15 @@ export const CarouselTypeChanger = ({
|
|||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
style={{
|
style={{
|
||||||
flex: 1,
|
flex: 1,
|
||||||
backgroundColor: "#0099CC",
|
backgroundColor: stationListMode == "position" ? "#0099CC" : "#0099CC80",
|
||||||
padding: 5,
|
padding: 5,
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
marginHorizontal: 5,
|
marginHorizontal: 5,
|
||||||
borderTopLeftRadius: 20,
|
borderTopLeftRadius: 20,
|
||||||
borderTopRightRadius: 20,
|
borderTopRightRadius: 20,
|
||||||
borderBottomLeftRadius: stationListMode == "position" ? 0 : 20,
|
borderBottomLeftRadius: mapMode ? 0 : 20,
|
||||||
borderBottomRightRadius: stationListMode == "position" ? 0 : 20,
|
borderBottomRightRadius: mapMode ? 0 : 20,
|
||||||
}}
|
}}
|
||||||
disabled={!locationStatus}
|
disabled={!locationStatus}
|
||||||
|
|
||||||
@ -99,15 +99,15 @@ export const CarouselTypeChanger = ({
|
|||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
style={{
|
style={{
|
||||||
flex: 1,
|
flex: 1,
|
||||||
backgroundColor: "#0099CC",
|
backgroundColor: stationListMode == "favorite" ? "#0099CC" : "#0099CC80",
|
||||||
padding: 5,
|
padding: 5,
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
marginHorizontal: 5,
|
marginHorizontal: 5,
|
||||||
borderTopLeftRadius: 20,
|
borderTopLeftRadius: 20,
|
||||||
borderTopRightRadius: 20,
|
borderTopRightRadius: 20,
|
||||||
borderBottomLeftRadius: stationListMode == "favorite" ? 0 : 20,
|
borderBottomLeftRadius: mapMode ? 0 : 20,
|
||||||
borderBottomRightRadius: stationListMode == "favorite" ? 0 : 20,
|
borderBottomRightRadius: mapMode ? 0 : 20,
|
||||||
}}
|
}}
|
||||||
onPressIn={() => {
|
onPressIn={() => {
|
||||||
returnToDefaultMode();
|
returnToDefaultMode();
|
||||||
|
Loading…
Reference in New Issue
Block a user