Skip to content

Commit ae12e29

Browse files
committed
committing before pulling latest
1 parent dd24825 commit ae12e29

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const {
1616
} = require('electron');
1717

1818
// Uncomment below for hot reloading during development
19-
// require('electron-reload')(__dirname);
19+
require('electron-reload')(__dirname);
2020

2121
// const isDev = true;
2222
const isDev =

src/components/main/KonvaStage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class KonvaStage extends Component<KonvaStagePropsInt, StateInt> {
4747
this.state = {
4848
stageWidth: 1800,
4949
stageHeight: 1300,
50-
blockSnapSize: 10,
50+
blockSnapSize: 25,
5151
grid: [],
5252
gridStroke: 1,
5353
};
@@ -135,6 +135,7 @@ class KonvaStage extends Component<KonvaStagePropsInt, StateInt> {
135135
handleStageMouseDown = (e: any) => {
136136
// clicked on stage - clear selection
137137
//logic here doesn't seem to be working
138+
console.log(e);
138139
if (e.target === e.target.getStage()) {
139140
return;
140141
}
@@ -201,7 +202,6 @@ class KonvaStage extends Component<KonvaStagePropsInt, StateInt> {
201202
appIndex = this.props.components.findIndex(el => el == this.appComponentDimensions);
202203

203204

204-
205205
render() {
206206
const {
207207
image,

src/containers/AppContainer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,12 @@ class AppContainer extends Component<Props, State> {
181181
handleNext={this.handleNext}
182182
/>
183183
<div className="app-container">
184-
<LeftContainer //The left side-bar that contains the component cards and the buttons.
184+
{/* <LeftContainer //The left side-bar that contains the component cards and the buttons.
185185
components={components}
186186
totalComponents={totalComponents}
187187
focusComponent={focusComponent} //'focused' just means it's the one currently selected.
188188
selectableChildren={selectableChildren} //this toggles whether a component can be added as a child to the focused component
189-
/>
189+
/> */}
190190
<MainContainer
191191
components={components}
192192
image={this.state.image}

0 commit comments

Comments
 (0)