File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44- Changed default palette from Sonic 2 to the SCH unified palette
55- Fixed a bug that allows deleting mappings in drawing mode
66- Fixed a bug where up/down scrolls when there are active mappings
7+ - Rebuilt colour picker
78
89## [0.0.7]
910- Added changelog
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export const File = observer(() => {
88
99 // }, []);
1010 if ( listing . length ) {
11- console . log ( 'script' ) ;
11+ // console.log('script');
1212 // load(listing[0].value);
1313 }
1414 return (
Original file line number Diff line number Diff line change 11import React , { Component } from 'react' ;
2- import SVARS from '!!sass-variables-loader!#styles/variables.scss' ;
32import { observer } from 'mobx-react' ;
43import { workspace } from '#store/workspace' ;
5- import { Item } from '#ui' ;
64
75const { dialog } = require ( 'electron' ) . remote ;
86
@@ -23,7 +21,7 @@ export class File extends Component {
2321 }
2422
2523 onEmpty = ( ) => {
26- this . update ( void 0 ) ;
24+ this . update ( ) ;
2725 } ;
2826
2927 onDragOver = ( ) => {
@@ -44,7 +42,7 @@ export class File extends Component {
4442 update = ( path ) => {
4543 const { store, accessor } = this . props ;
4644 if ( store && accessor ) {
47- store [ accessor ] = path ? workspace . relativePath ( path ) : ( store . accessor = '' ) ; // TODO: this looks wrong
45+ store [ accessor ] = path ? workspace . relativePath ( path ) : '' ;
4846 }
4947
5048 this . props . onChange &&
You can’t perform that action at this time.
0 commit comments