This commit is contained in:
Tom Schimansky 2022-12-25 20:54:40 +01:00
parent 84bfc776b0
commit 5bbd72b5dc

View File

@ -78,4 +78,4 @@ def set_window_scaling(scaling_value: float):
def deactivate_automatic_dpi_awareness(): def deactivate_automatic_dpi_awareness():
""" deactivate DPI awareness of current process (windll.shcore.SetProcessDpiAwareness(0)) """ """ deactivate DPI awareness of current process (windll.shcore.SetProcessDpiAwareness(0)) """
ScalingTracker.deactivate_automatic_dpi_awareness = False ScalingTracker.deactivate_automatic_dpi_awareness = True