Skip to content

Commit

Permalink
Hide 1x1 pixel snap option, increase app window height
Browse files Browse the repository at this point in the history
  • Loading branch information
nurpax committed Feb 10, 2020
1 parent dfbec93 commit a0a38a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ createWindow = () => {
nodeIntegration: true
},
width: 1100,
height: 680,
height: 720,
minWidth: 768,
minHeight: 500
});
Expand Down
1 change: 0 additions & 1 deletion src/containers/App.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@
"leftmenu topmenu"
"leftmenu editor";
}

5 changes: 2 additions & 3 deletions src/containers/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import React, {
import { connect } from 'react-redux'

import Modal from '../components/Modal'
import { CheckboxInput } from '../components/formHelpers'
import { RootState, Rgb, PaletteName, EditBranch } from '../redux/types'
import { Toolbar } from '../redux/toolbar'
import * as settings from '../redux/settings'
Expand Down Expand Up @@ -205,14 +204,14 @@ class Settings_ extends Component<SettingsStateProps & SettingsDispatchProps> {
colorPalette={colorPalette}
/>

<Title3>View</Title3>
{/*<Title3>View</Title3>
<div style={{marginTop: '9px'}}>
<CheckboxInput
label='Snap window scale to integers to keep 1x1 pixels.'
checked={this.props.integerScale}
onChange={this.handleIntegerScale}
/>
</div>
</div>*/}
<br/>
</div>

Expand Down

0 comments on commit a0a38a1

Please sign in to comment.