mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-22 14:20:50 +08:00
fix: bugs
This commit is contained in:
parent
7efe109c83
commit
752d7cb482
|
@ -97,8 +97,8 @@ class Background {
|
|||
console.log("creating app window");
|
||||
|
||||
this.window = new BrowserWindow({
|
||||
width: this.store.get("window.width") | 1440,
|
||||
height: this.store.get("window.height") | 840,
|
||||
width: this.store.get("window.width") || 1440,
|
||||
height: this.store.get("window.height") || 840,
|
||||
minWidth: 1080,
|
||||
minHeight: 720,
|
||||
titleBarStyle: "hiddenInset",
|
||||
|
|
|
@ -28,7 +28,6 @@ button {
|
|||
}
|
||||
&:hover {
|
||||
background: var(--color-secondary-bg-for-transparent);
|
||||
opacity: 0.88;
|
||||
}
|
||||
&:active {
|
||||
transform: scale(0.92);
|
||||
|
|
|
@ -105,7 +105,7 @@ img {
|
|||
.cover-hover {
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
transform: scale(1.02);
|
||||
/* transform: scale(1.02); */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -124,8 +124,9 @@ img {
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
color: white;
|
||||
backdrop-filter: blur(12px) brightness(96%);
|
||||
background: transparent;
|
||||
backdrop-filter: blur(8px);
|
||||
background: rgba(255, 255, 255, 0.14);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
height: 22%;
|
||||
width: 22%;
|
||||
border-radius: 50%;
|
||||
|
@ -138,7 +139,7 @@ img {
|
|||
}
|
||||
}
|
||||
&:hover {
|
||||
transform: scale(1.06);
|
||||
background: rgba(255, 255, 255, 0.28);
|
||||
}
|
||||
&:active {
|
||||
transform: scale(0.94);
|
||||
|
|
|
@ -6,7 +6,12 @@
|
|||
:key="item.id"
|
||||
:class="{ artist: type === 'artist' }"
|
||||
>
|
||||
<Cover :imageUrl="getImageUrl(item)" :type="type" :id="item.id" />
|
||||
<Cover
|
||||
:imageUrl="getImageUrl(item)"
|
||||
:type="type"
|
||||
:id="item.id"
|
||||
:playButtonSize="type === 'artist' ? 26 : 22"
|
||||
/>
|
||||
<div class="text">
|
||||
<div class="info" v-if="showPlayCount">
|
||||
<span class="play-count"
|
||||
|
|
|
@ -132,6 +132,9 @@ export default {
|
|||
&:hover {
|
||||
background: rgba(255, 255, 255, 0.44);
|
||||
}
|
||||
&:active {
|
||||
transform: scale(0.94);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes move {
|
||||
|
|
|
@ -313,6 +313,7 @@ nav {
|
|||
padding: 6px 10px;
|
||||
color: var(--color-text);
|
||||
transition: 0.2s;
|
||||
-webkit-user-drag: none;
|
||||
margin: {
|
||||
right: 12px;
|
||||
left: 12px;
|
||||
|
@ -404,6 +405,8 @@ nav {
|
|||
vertical-align: -7px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
-webkit-app-region: no-drag;
|
||||
-webkit-user-drag: none;
|
||||
&:hover {
|
||||
filter: brightness(80%);
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ export function getSendSettingsPlugin() {
|
|||
const ipcRenderer = electron.ipcRenderer;
|
||||
return (store) => {
|
||||
store.subscribe((mutation, state) => {
|
||||
console.log(mutation);
|
||||
// console.log(mutation);
|
||||
if (mutation.type !== "updateSettings") return;
|
||||
ipcRenderer.send("settings", {
|
||||
minimizeToTray: state.settings.minimizeToTray,
|
||||
|
|
Loading…
Reference in New Issue
Block a user