windows 250% scaling support (#11, #13)

This commit is contained in:
LOUDO 2024-02-27 14:03:24 +01:00
parent 55f4e3ab7a
commit 76c1cc7cdf
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@ from os import getlogin
from sys import platform
from threading import Thread
import subprocess
import ctypes
PROCESS_PER_MONITOR_DPI_AWARE = 2
ctypes.windll.shcore.SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE)
class Macro: