Fixed alignment

This commit is contained in:
Devine Lu Linvega 2019-01-10 15:28:04 +12:00
parent 3b4b3c8ad7
commit f307e4a4aa
3 changed files with 4 additions and 4 deletions

View File

@ -8,9 +8,9 @@ let isShown = true
app.on('ready', () => {
app.win = new BrowserWindow({
width: 405,
height: 420,
height: 430,
minWidth: 405,
minHeight: 420,
minHeight: 430,
webPreferences: { zoomFactor: 1.0 },
backgroundColor: '#000',
frame: false,

View File

@ -76,7 +76,7 @@ function Dotgrid (width, height) {
this.new = function () {
this.setZoom(1.0)
this.setSize({ width: 300, height: 300 })
this.setSize({ width: 300, height: 325 })
this.history.push(this.tool.layers)
this.clear()
}

View File

@ -100,7 +100,7 @@ function Renderer (dotgrid) {
const markers = dotgrid.getSize().markers
for (let x = markers.w - 1; x >= 0; x--) {
for (let y = markers.h; y >= 0; y--) {
for (let y = markers.h - 1; y >= 0; y--) {
let is_step = x % 4 == 0 && y % 4 == 0
// Color
let color = is_step ? dotgrid.theme.active.b_med : dotgrid.theme.active.b_low