File tree Expand file tree Collapse file tree 2 files changed +20
-22
lines changed Expand file tree Collapse file tree 2 files changed +20
-22
lines changed Original file line number Diff line number Diff line change @@ -58,19 +58,19 @@ class MainContainer extends Component {
58
58
59
59
componentDidMount ( ) { }
60
60
61
- increaseHeight = ( ) => {
62
- this . setState ( {
63
- scaleX : this . state . scaleX * 1.5 ,
64
- scaleY : this . state . scaleY * 1.5 ,
65
- } ) ;
66
- } ;
61
+ // increaseHeight = () => {
62
+ // this.setState({
63
+ // scaleX: this.state.scaleX * 1.5,
64
+ // scaleY: this.state.scaleY * 1.5,
65
+ // });
66
+ // };
67
67
68
- decreaseHeight = ( ) => {
69
- this . setState ( {
70
- scaleX : this . state . scaleX * 0.75 ,
71
- scaleY : this . state . scaleY * 0.75 ,
72
- } ) ;
73
- } ;
68
+ // decreaseHeight = () => {
69
+ // this.setState({
70
+ // scaleX: this.state.scaleX * 0.75,
71
+ // scaleY: this.state.scaleY * 0.75,
72
+ // });
73
+ // };
74
74
75
75
toggleDrag = ( ) => {
76
76
this . props . toggleComponentDragging ( this . state . draggable ) ;
Original file line number Diff line number Diff line change 1
1
import React , { Component } from 'react' ;
2
2
import { connect } from 'react-redux' ;
3
3
// import PropTypes from 'prop-types';
4
- import {
5
- handleClose ,
6
- deleteCompProp ,
7
- addCompProp ,
8
- } from '../actions/components' ;
4
+ import { handleClose , deleteCompProp , addCompProp } from '../actions/components' ;
9
5
// import Snackbars from '../components/Snackbars.jsx';
10
6
// import RightTabs from '../components/RightTabs.jsx';
11
7
@@ -27,11 +23,11 @@ class RightContainer extends Component {
27
23
state = {
28
24
successOpen : false ,
29
25
errorOpen : false ,
30
- }
26
+ } ;
31
27
32
28
viewAppDir = ( ) => {
33
29
IPC . send ( 'view_app_dir' , this . props . appDir ) ;
34
- }
30
+ } ;
35
31
36
32
render ( ) {
37
33
const {
@@ -47,7 +43,7 @@ class RightContainer extends Component {
47
43
} = this . props ;
48
44
49
45
return (
50
- < div className = ' column-right' style = { { width : `${ this . props . width } %` } } >
46
+ < div className = " column-right" style = { { width : `${ this . props . width } %` } } >
51
47
{ /* <RightTabs
52
48
components={components}
53
49
focusComponent={focusComponent}
@@ -80,5 +76,7 @@ class RightContainer extends Component {
80
76
// rightColumnOpen: PropTypes.bool.isRequired,
81
77
// };
82
78
83
-
84
- export default connect ( mapStateToProps , mapDispatchToProps ) ( RightContainer ) ;
79
+ export default connect (
80
+ mapStateToProps ,
81
+ mapDispatchToProps ,
82
+ ) ( RightContainer ) ;
You can’t perform that action at this time.
0 commit comments