Improved game start screen gradient
这个提交包含在:
父节点
b2ff90855f
当前提交
ae3d9310d6
共有 1 个文件被更改,包括 11 次插入 和 10 次删除
|
@ -379,15 +379,7 @@ class GameStartScreen extends React.Component<Props, State> {
|
||||||
|
|
||||||
getMainContent() {
|
getMainContent() {
|
||||||
return (
|
return (
|
||||||
<LinearGradient
|
|
||||||
style={{flex: 1}}
|
|
||||||
colors={[
|
|
||||||
this.props.theme.colors.background + "00",
|
|
||||||
this.props.theme.colors.background
|
|
||||||
]}
|
|
||||||
start={{x: 0, y: 0.1}}
|
|
||||||
end={{x: 0.1, y: 1}}
|
|
||||||
>
|
|
||||||
<View style={{flex: 1}}>
|
<View style={{flex: 1}}>
|
||||||
{
|
{
|
||||||
this.gameStats != null
|
this.gameStats != null
|
||||||
|
@ -415,7 +407,6 @@ class GameStartScreen extends React.Component<Props, State> {
|
||||||
</Button>
|
</Button>
|
||||||
{this.getTopScoresRender()}
|
{this.getTopScoresRender()}
|
||||||
</View>
|
</View>
|
||||||
</LinearGradient>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -425,6 +416,15 @@ class GameStartScreen extends React.Component<Props, State> {
|
||||||
return (
|
return (
|
||||||
<View style={{flex: 1}}>
|
<View style={{flex: 1}}>
|
||||||
{this.getPiecesBackground()}
|
{this.getPiecesBackground()}
|
||||||
|
<LinearGradient
|
||||||
|
style={{flex: 1}}
|
||||||
|
colors={[
|
||||||
|
this.props.theme.colors.background + "00",
|
||||||
|
this.props.theme.colors.background
|
||||||
|
]}
|
||||||
|
start={{x: 0, y: 0}}
|
||||||
|
end={{x: 0, y: 1}}
|
||||||
|
>
|
||||||
<ScrollView>
|
<ScrollView>
|
||||||
{this.getMainContent()}
|
{this.getMainContent()}
|
||||||
<MascotPopup
|
<MascotPopup
|
||||||
|
@ -443,6 +443,7 @@ class GameStartScreen extends React.Component<Props, State> {
|
||||||
emotion={MASCOT_STYLE.COOL}
|
emotion={MASCOT_STYLE.COOL}
|
||||||
/>
|
/>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
</LinearGradient>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
正在加载…
在新工单中引用