File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ drawBtn.map((btn) => {
58
58
intervall = setInterval ( ( ) => {
59
59
e . preventDefault ( ) ;
60
60
draw ( { key : e . target . id } ) ;
61
- } , 20 ) ;
61
+ } , 50 ) ;
62
62
} ) ;
63
63
btn . addEventListener ( "mouseup" , function ( e ) {
64
64
clearInterval ( intervall ) ;
Original file line number Diff line number Diff line change 1
1
body {
2
2
min-height : 100vh ;
3
- background : white;
4
- background : url (https://source.unsplash.com/user/erondu/1600x900);
3
+ display : grid;
4
+ align-items : center;
5
+ justify-items : center;
6
+ background : url (https://source.unsplash.com/user/erondu/1600x900) white;
5
7
background-size : cover;
6
8
}
7
9
@@ -61,6 +63,7 @@ canvas.shake {
61
63
canvas {
62
64
width : 100% ;
63
65
max-width : 85vw ;
66
+ align-items : flex-start;
64
67
height : auto;
65
68
}
66
69
.action--buttons {
You can’t perform that action at this time.
0 commit comments