The only downloader you need. 下载器的集大成者。
TypeScript asyncasynciobittorentbtcross-platformdownload-managerdownloaderfluent-designftphttp3magnetpyqtpyside6pythonqtquicreactsoftwarestreaming
Fix #227
XiaoYouChRdc4b6d718e3d
diff --git a/app/components/custom_components.py b/app/components/custom_components.pyindex c1f34582..b885cfbf 100644--- a/app/components/custom_components.py+++ b/app/components/custom_components.py@@ -185,19 +185,6 @@ class CustomAcrylicMenu(RoundMenu):self.view.itemClicked.connect(self._onItemClicked)self.view.itemEntered.connect(self._onItemEntered)- def adjustPosition(self):- m = self.hBoxLayout.contentsMargins()- rect = getCurrentScreenGeometry()- w, h = (- self.hBoxLayout.sizeHint().width() + 5,- self.hBoxLayout.sizeHint().height(),- )-- x = min(self.x() - m.left(), rect.right() - w)- y = self.y() - 45-- self.move(x, y)-def showEvent(self, event, /):self.windowEffect.addMenuShadowEffect(self.winId())self.windowEffect.addShadowEffect(self.winId())@@ -215,15 +202,8 @@ class CustomAcrylicMenu(RoundMenu):),)- self.adjustPosition()+ self.raise_()+ self.activateWindow()+ self.setFocus()super().showEvent(event)-- def nativeEvent(self, eventType, message):- if eventType == "windows_generic_MSG":- from ctypes.wintypes import MSG-- msg = MSG.from_address(message.__int__())- if msg.message == 8:- self.close()- return True, 0