mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-20 18:15:43 +08:00
🔨 适配windows 125%下窗口异常
This commit is contained in:
@@ -60,7 +60,7 @@ class API {
|
||||
const { x, y } = screen.getCursorScreenPoint();
|
||||
const originWindow = this.getCurrentWindow(window, e);
|
||||
if (!originWindow) return;
|
||||
originWindow.setBounds({ x: x - mouseX, y: y - mouseY });
|
||||
originWindow.setBounds({ x: x - mouseX, y: y - mouseY, width, height });
|
||||
}
|
||||
|
||||
public loadPlugin({ data: plugin }, window) {
|
||||
|
||||
Reference in New Issue
Block a user