File tree Expand file tree Collapse file tree 3 files changed +28
-27
lines changed
Expand file tree Collapse file tree 3 files changed +28
-27
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ class KonvaStage extends Component {
217217 draggable = { true }
218218 blockSnapSize = { this . state . blockSnapSize }
219219 imageSource = {
220- child . htmlElement == 'Image' && child . HTMLInfo . Src ? child . HTMLInfo . Src : null
220+ child . htmlElement === 'Image' && child . HTMLInfo . Src ? child . HTMLInfo . Src : null
221221 }
222222 />
223223 ) )
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import Grid from '@material-ui/core/Grid';
99import AddIcon from '@material-ui/icons/Add' ;
1010import DeleteIcon from '@material-ui/icons/Delete' ;
1111import Button from '@material-ui/core/Button' ;
12+ import Tooltip from '@material-ui/core/Tooltip' ;
1213
1314const LeftColExpansionPanel = ( props ) => {
1415 const {
@@ -110,14 +111,16 @@ const LeftColExpansionPanel = (props) => {
110111 { id === 1 || isFocused ( ) || ! selectableChildren . includes ( id ) ? (
111112 < div />
112113 ) : (
113- < IconButton
114- aria-label = "Add"
115- onClick = { ( ) => {
116- addChild ( { title, childType : 'COMP' } ) ;
117- } }
118- >
119- < AddIcon style = { { color, float : 'right' } } />
120- </ IconButton >
114+ < Tooltip title = "add as child" aria-label = "add as child" placement = "left" >
115+ < IconButton
116+ aria-label = "Add"
117+ onClick = { ( ) => {
118+ addChild ( { title, childType : 'COMP' } ) ;
119+ } }
120+ >
121+ < AddIcon style = { { color, float : 'right' } } />
122+ </ IconButton >
123+ </ Tooltip >
121124 ) }
122125 </ Grid >
123126 </ Grid >
Original file line number Diff line number Diff line change @@ -80,24 +80,22 @@ const MainContainerHeader = (props) => {
8080 </Button>
8181 </div>
8282 </Tooltip> */ }
83- < Tooltip title = { 'export' } >
84- < div >
85- < Button
86- color = "primary"
87- variant = "text"
88- // variant="outlined"
89- className = { classes . clearButton }
90- disabled = { totalComponents < 1 }
91- onClick = { showGenerateAppModal }
92- >
93- < GetAppIcon
94- className = { classes . light }
95- style = { { paddingLeft : '5px' , paddingRight : '5px' } }
96- />
97- Export Project
98- </ Button >
99- </ div >
100- </ Tooltip >
83+ < div >
84+ < Button
85+ color = "primary"
86+ variant = "text"
87+ // variant="outlined"
88+ className = { classes . clearButton }
89+ disabled = { totalComponents < 1 }
90+ onClick = { showGenerateAppModal }
91+ >
92+ < GetAppIcon
93+ className = { classes . light }
94+ style = { { paddingLeft : '5px' , paddingRight : '5px' } }
95+ />
96+ Export Project
97+ </ Button >
98+ </ div >
10199 </ div >
102100 </ div >
103101 ) ;
You can’t perform that action at this time.
0 commit comments