|
@@ -19,7 +19,7 @@ const defaultConfig: Config = { |
|
|
const configPath = './config.json' |
|
|
const configPath = './config.json' |
|
|
const naturalKeyWidth = 20 |
|
|
const naturalKeyWidth = 20 |
|
|
const pedalBoardWidth = 239 |
|
|
const pedalBoardWidth = 239 |
|
|
const height = 200 |
|
|
|
|
|
|
|
|
const height = 175 |
|
|
|
|
|
|
|
|
const getNaturalKeys = (range: string): number => { |
|
|
const getNaturalKeys = (range: string): number => { |
|
|
const [startKeyRaw, endKeyRaw] = range.split('|') |
|
|
const [startKeyRaw, endKeyRaw] = range.split('|') |
|
@@ -66,7 +66,8 @@ function createWindow(config: Config): void { |
|
|
minWidth: is.dev ? undefined : width, |
|
|
minWidth: is.dev ? undefined : width, |
|
|
maxWidth: is.dev ? undefined : width, |
|
|
maxWidth: is.dev ? undefined : width, |
|
|
fullscreenable: false, |
|
|
fullscreenable: false, |
|
|
resizable: is.dev |
|
|
|
|
|
|
|
|
resizable: is.dev, |
|
|
|
|
|
useContentSize: true, |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
mainWindow.on('ready-to-show', () => { |
|
|
mainWindow.on('ready-to-show', () => { |
|
|