A full-featured download manager.
refactor: dynamic tray scale
Dr_rOot8b97c90e8875
diff --git a/src/renderer/components/Native/DynamicTray.vue b/src/renderer/components/Native/DynamicTray.vueindex 2fe02d54..5577f3cd 100644--- a/src/renderer/components/Native/DynamicTray.vue+++ b/src/renderer/components/Native/DynamicTray.vue@@ -2,23 +2,19 @@<div style="display: none;"><imgid="tray-icon-light-normal"- src="static/[email protected]"- srcset="static/[email protected] 1x, static/[email protected]"+ src="static/[email protected]"><imgid="tray-icon-light-active"- src="static/[email protected]"- srcset="static/[email protected] 1x, static/[email protected]"+ src="static/[email protected]"><imgid="tray-icon-dark-normal"- src="static/[email protected]"- srcset="static/[email protected] 1x, static/[email protected]"+ src="static/[email protected]"><imgid="tray-icon-dark-active"- src="static/[email protected]"- srcset="static/[email protected] 1x, static/[email protected]"+ src="static/[email protected]"></div></template>@@ -33,13 +29,6 @@export default {name: 'mo-dynamic-tray',- data () {- return {- width: 66,- height: 16,- icon: null- }- },computed: {...mapState('app', {bigSur: state => state.bigSur,@@ -51,7 +40,7 @@speed: state => state.stat.uploadSpeed + state.stat.downloadSpeed}),scale () {- return window.devicePixelRatio > 1 ? 2 : 1+ return 2},currentTheme () {const { theme, focused } = this