Skip to content

Commit

Permalink
Merge pull request #279 from FrzMtrsprt/lyric-pos
Browse files Browse the repository at this point in the history
🦄 refactor: 初始化桌面歌词至屏幕下方
  • Loading branch information
imsyy authored Oct 21, 2024
2 parents 2b8eb93 + ea55616 commit f5015a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions electron/main/store.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Store from "electron-store";
import { screen } from "electron";
import log from "./logger";

log.info("🌱 Store init");
Expand Down Expand Up @@ -34,8 +35,8 @@ const store = new Store<StoreType>({
fontSize: 30,
mainColor: "#fff",
shadowColor: "rgba(0, 0, 0, 0.5)",
x: 0,
y: 0,
x: screen.getPrimaryDisplay().workAreaSize.width / 2 - 400,
y: screen.getPrimaryDisplay().workAreaSize.height - 90,
width: 800,
height: 180,
},
Expand Down

0 comments on commit f5015a4

Please sign in to comment.