Resize debug log, rename save button

This commit is contained in:
Josh Perez 2021-10-15 14:11:59 -04:00 committed by GitHub
parent 354e69689b
commit d4e2911450
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -488,7 +488,7 @@
"description": "Shown as the text for the copy button on the debug log screen"
},
"debugLogSave": {
"message": "Download",
"message": "Save",
"description": "Shown as the text for the download button on the debug log screen"
},
"debugLogLinkCopied": {

View File

@ -1125,10 +1125,9 @@ async function showDebugLogWindow() {
const theme = settingsChannel
? await settingsChannel.getSettingFromMainWindow('themeSetting')
: undefined;
const size = getMainWindow()?.getSize();
const options = {
width: size ? Math.max(size[0] - 100, MIN_WIDTH) : MIN_WIDTH,
height: size ? Math.max(size[1] - 100, MIN_HEIGHT) : MIN_HEIGHT,
width: 700,
height: 500,
resizable: false,
title: getLocale().i18n('debugLog'),
autoHideMenuBar: true,