We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 035c118 commit 85ba120Copy full SHA for 85ba120
repo.js
@@ -9,10 +9,10 @@ function create_shape(type, loop_counter){
9
'color': type === 'positive'
10
? '#206620'
11
: '#663366',
12
- 'height': core_random_integer({'max': max,}) + bonus,
13
- 'width': core_random_integer({'max': max,}) + bonus,
14
- 'x': core_random_integer({'max': canvas_properties['width'],}) - bonus / 2,
15
- 'y': core_random_integer({'max': canvas_properties['height'] - 30,}) - bonus / 2 + 30,
+ 'height': core_random_integer(max) + bonus,
+ 'width': core_random_integer(max,) + bonus,
+ 'x': core_random_integer(canvas_properties['width']) - bonus / 2,
+ 'y': core_random_integer(canvas_properties['height'] - 30) - bonus / 2 + 30,
16
},
17
});
18
}
0 commit comments