Resize debug log, rename save button
This commit is contained in:
parent
354e69689b
commit
d4e2911450
2 changed files with 3 additions and 4 deletions
|
@ -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": {
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue