mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 15:14:19 +02:00
Add zoom factor to splash screen
This commit is contained in:
parent
70371e41bf
commit
c01907f115
2 changed files with 6 additions and 5 deletions
|
@ -480,13 +480,15 @@ function maybeShowSplash() {
|
|||
var suppressSplash = userConfig.get('doNotShowSplash', false);
|
||||
|
||||
if (!suppressSplash) {
|
||||
const zoomFactor = 0.8;
|
||||
var window = new BrowserWindow({
|
||||
icon: appIcon,
|
||||
width: 1600,
|
||||
height: 737,
|
||||
width: 1600 * zoomFactor,
|
||||
height: 737 * zoomFactor,
|
||||
center: true,
|
||||
frame: true,
|
||||
useContentSize: true,
|
||||
zoomFactor: zoomFactor,
|
||||
resizable: false
|
||||
});
|
||||
window.loadURL('file://' + __dirname + '/splash.html');
|
||||
|
|
|
@ -16,7 +16,7 @@ body {
|
|||
|
||||
* {
|
||||
font-family: "Proxima Nova", "Open Sans", Arial, Helvetica, sans-serif;
|
||||
font-size: 1.022em;
|
||||
font-size: 14.5pt;
|
||||
line-height: 130%;
|
||||
}
|
||||
|
||||
|
@ -36,14 +36,13 @@ a:hover {
|
|||
h1 {
|
||||
font-weight: normal;
|
||||
color: #6D7472;
|
||||
font-size: 2.0em;
|
||||
font-size: 30pt;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #6D7472;
|
||||
font-size: 1.0em;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
|
Loading…
Reference in a new issue