File tree Expand file tree Collapse file tree 4 files changed +10
-9
lines changed 
containers/angular-tetris Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -28,18 +28,18 @@ $black: #000;
2828
2929.screen  {
3030  width  : 390px  ;
31-   height  : 495 px  ;
31+   height  : 478 px  ;
3232  border  : solid  5px  ;
3333  border-color  : #987f0f  #fae36c  #fae36c  #987f0f ;
3434  margin  : 0  auto ;
3535  position  : relative ;
3636
3737  .panel  {
3838    width  : 380px  ;
39-     height  : 485 px  ;
39+     height  : 468 px  ;
4040    margin  : 0  auto ;
4141    background  : #9ead86 ;
42-     padding  : 18 px   8px  ;
42+     padding  : 8px  ;
4343    border  : 2px   solid  #494536 ;
4444  }
4545}
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ export class Tile {
66  constructor ( val : TileValue )  { 
77    this . _value  =  val ; 
88  } 
9+ 
910  get  isFilled ( ) : boolean  { 
1011    return  this . _value  ===  1 ; 
1112  } 
Original file line number Diff line number Diff line change @@ -186,9 +186,9 @@ export class TetrisService {
186186      return ; 
187187    } 
188188    this . _clearPiece ( ) ; 
189-     const  isHoldPieceNone  =  this . _hold . isNone ( ) ; 
190-     const  newCurrent  =  isHoldPieceNone  ? this . _next  : this . _hold ; 
191-     if  ( isHoldPieceNone )  { 
189+     const  isHoldNonePiece  =  this . _hold . isNone ( ) ; 
190+     const  newCurrent  =  isHoldNonePiece  ? this . _next  : this . _hold ; 
191+     if  ( isHoldNonePiece )  { 
192192      this . _setNext ( ) ; 
193193    } 
194194    this . _setHolded ( this . _current . reset ( ) ) ; 
Original file line number Diff line number Diff line change 2929  right  : 15px  ;
3030
3131  p  {
32-     line-height  : 47 px  ;
33-     height  : 57 px  ;
32+     line-height  : 43 px  ;
33+     height  : 50 px  ;
3434    padding  : 10px   0  0 ;
3535    white-space  : nowrap ;
3636    clear  : both ;
3939  .last-row  {
4040    position  : absolute ;
4141    width  : 114px  ;
42-     top  : 456 px  ;
42+     top  : 430 px  ;
4343    left  : 0 ;
4444  }
4545}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments