Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Commit

Permalink
#50 fix conflict with develop
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidborredom committed Jun 23, 2018
2 parents e5ad1a5 + 6c00ad3 commit 0ee17da
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/actions/summaryHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function setSummaryCount(data, callback){
}
}
var parseValue = {
VOCABULARY : initialArr.length + vocabularyArr.length,
VOCABULARY : vocabularyArr.length,
GRAMMAR : grammarArr.length,
KANJI : kanjiArr.length,

Expand Down
14 changes: 9 additions & 5 deletions app/screens/sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,15 @@ export default class HL4 extends Component {
}

getRandom = () =>{
var count = HLlist.length;
var random = Math.floor(Math.random() * count);
while( HLlist[random]['id'] == ""){
var random = Math.floor(Math.random() * count);
}
var randomVal = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,130,131,132,133,134,135,136,137,138,139,140,141,142];
var count = randomVal.length;
var randomSet = Math.floor(Math.random() * count);
var random = randomVal[randomSet];
// var count = HLlist.length;
// var random = Math.floor(Math.random() * count);
// while( HLlist[random]['id'] == ""){
// var random = Math.floor(Math.random() * count);
// }
this.canvasBg.clear();
this.canvasCorrect.clear();
this.canvas2.clear();
Expand Down
4 changes: 4 additions & 0 deletions app/styles/score.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,17 +199,21 @@ module.exports = StyleSheet.create({
borderTopColor : '#ddd',
borderTopWidth : 1,
padding: 20,
zIndex:120
},
imageHomeCon : {
position : 'absolute',
bottom: 0,
right: 0,
width: 80,
height: 200,
zIndex: 121,
elevation: 3
},
imageHome : {
width: '100%',
height: '100%',
elevation: 4
},
ruleScore:{
fontSize:16,
Expand Down
2 changes: 1 addition & 1 deletion app/styles/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ module.exports = StyleSheet.create({
backgroundColor: primaryColor,
},
highPrio: {
zIndex:999
zIndex:100
},
//Header
headContainer:{
Expand Down

0 comments on commit 0ee17da

Please sign in to comment.