File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 */
88
99.debug-ui {
10+ text-align : left;
1011 min-width : 300px ;
1112 max-width : 400px ;
12- overflow : hidden ;
13+ overflow-y : scroll ;
1314 box-sizing : border-box;
1415 background : # fefefe ;
15- border : 3px solid # ddd ;
16+ border-left : 1px solid # ddd ;
17+ box-shadow : -1px 0 10px # aaa ;
1618 position : absolute;
1719 right : 0 ;
1820 top : 0 ;
2123 font-family : monospace;
2224 font-size : 14px ;
2325 padding : 20px ;
24- box-sizing : content -box;
26+ box-sizing : border -box;
2527}
2628
2729.debug-ui section {
Original file line number Diff line number Diff line change @@ -423,16 +423,16 @@ export class Debug extends React.Component {
423423 < h3 > state</ h3 >
424424
425425 < section >
426- < pre >
427- < strong > G </ strong > :{ ' ' }
428- { JSON . stringify ( this . props . gamestate . G , null , 2 ) }
426+ < pre className = "json" >
427+ < strong > ctx </ strong > :{ ' ' }
428+ { JSON . stringify ( this . props . gamestate . ctx , null , 2 ) }
429429 </ pre >
430430 </ section >
431431
432432 < section >
433- < pre >
434- < strong > ctx </ strong > :{ ' ' }
435- { JSON . stringify ( this . props . gamestate . ctx , null , 2 ) }
433+ < pre className = "json" >
434+ < strong > G </ strong > :{ ' ' }
435+ { JSON . stringify ( this . props . gamestate . G , null , 2 ) }
436436 </ pre >
437437 </ section >
438438 </ span >
You can’t perform that action at this time.
0 commit comments