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"
|
"description": "Shown as the text for the copy button on the debug log screen"
|
||||||
},
|
},
|
||||||
"debugLogSave": {
|
"debugLogSave": {
|
||||||
"message": "Download",
|
"message": "Save",
|
||||||
"description": "Shown as the text for the download button on the debug log screen"
|
"description": "Shown as the text for the download button on the debug log screen"
|
||||||
},
|
},
|
||||||
"debugLogLinkCopied": {
|
"debugLogLinkCopied": {
|
||||||
|
|
|
@ -1125,10 +1125,9 @@ async function showDebugLogWindow() {
|
||||||
const theme = settingsChannel
|
const theme = settingsChannel
|
||||||
? await settingsChannel.getSettingFromMainWindow('themeSetting')
|
? await settingsChannel.getSettingFromMainWindow('themeSetting')
|
||||||
: undefined;
|
: undefined;
|
||||||
const size = getMainWindow()?.getSize();
|
|
||||||
const options = {
|
const options = {
|
||||||
width: size ? Math.max(size[0] - 100, MIN_WIDTH) : MIN_WIDTH,
|
width: 700,
|
||||||
height: size ? Math.max(size[1] - 100, MIN_HEIGHT) : MIN_HEIGHT,
|
height: 500,
|
||||||
resizable: false,
|
resizable: false,
|
||||||
title: getLocale().i18n('debugLog'),
|
title: getLocale().i18n('debugLog'),
|
||||||
autoHideMenuBar: true,
|
autoHideMenuBar: true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue