File tree Expand file tree Collapse file tree 9 files changed +314
-342
lines changed
Expand file tree Collapse file tree 9 files changed +314
-342
lines changed Original file line number Diff line number Diff line change 1414- Rebuilt Project screen
1515 - Tree structure for projects
1616 - Reuse file menu
17- - New mapping autodismiss is configurable
17+ - Mapping screen updates
18+ - New mapping autodismiss is configurable
19+ - Added 'close' to new mapping / raw editor
1820- Fixed a keycombination event bug [#29](/../../issues/29)
1921- Fixed corrupted art when importing transparent PNGs [#22](/../../issues/22)
2022
Original file line number Diff line number Diff line change @@ -20,10 +20,9 @@ definition([
2020])
2121
2222// copy to project
23+ // art ffset save message / input size
2324// autozoom based on sprite size for sprites tab
24- // close button for new mapping screen / raw editor
2525
26- // art ffset save message / input size
2726// crackers first, then kd cham
2827// UI by definition
2928
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { environment } from '#store/environment';
77import { observer } from 'mobx-react' ;
88import { Mapping } from './mapping' ;
99import { Spring } from 'react-spring/renderprops' ;
10- import { Checkbox } from '#ui' ;
10+ import { Checkbox , Button } from '#ui' ;
1111
1212const baseConfig = {
1313 hflip : false ,
@@ -18,13 +18,16 @@ const baseConfig = {
1818 priority : false ,
1919} ;
2020
21- const AutoDismiss = observer ( ( ) => (
22- < div className = "autodismiss" >
23- < span onClick = { mappingState . toggleAutodismiss } > autodismiss</ span >
24- < Checkbox
25- checked = { mappingState . autodismiss }
26- onChange = { mappingState . toggleAutodismiss }
27- />
21+ const BottomMenu = observer ( ( ) => (
22+ < div className = "row" >
23+ < Button color = "magenta" onClick = { mappingState . toggleNewMapping } > close</ Button >
24+ < div className = "autodismiss" >
25+ < span onClick = { mappingState . toggleAutodismiss } > autodismiss</ span >
26+ < Checkbox
27+ checked = { mappingState . autodismiss }
28+ onChange = { mappingState . toggleAutodismiss }
29+ />
30+ </ div >
2831 </ div >
2932) ) ;
3033
@@ -155,7 +158,7 @@ export class NewMapping extends Component {
155158 } ) }
156159 </ div >
157160 ) ) }
158- < AutoDismiss />
161+ < BottomMenu />
159162 </ div >
160163 ) }
161164 </ Spring >
You can’t perform that action at this time.
0 commit comments