From d4ac84352b5f4507a095f8767b3ad2b32a8f453f Mon Sep 17 00:00:00 2001 From: desty2k <55806660+desty2k@users.noreply.github.com> Date: Mon, 21 Feb 2022 22:04:53 +0100 Subject: [PATCH] FIX: typos --- qrainbowstyle/__init__.py | 2 +- qrainbowstyle/windows/FramelessWindowWin.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qrainbowstyle/__init__.py b/qrainbowstyle/__init__.py index 7c3395f..78246b3 100644 --- a/qrainbowstyle/__init__.py +++ b/qrainbowstyle/__init__.py @@ -185,7 +185,7 @@ def getCurrentPalette(): def rainbowize(text: str) -> str: - """Replaces colors names to hashes in text""" + """Replaces color names with hashes in text""" color_dict = getCurrentPalette().to_dict() for color in color_dict: text = text.replace(color, str(color_dict[color])) diff --git a/qrainbowstyle/windows/FramelessWindowWin.py b/qrainbowstyle/windows/FramelessWindowWin.py index d4504dc..d1f82ad 100644 --- a/qrainbowstyle/windows/FramelessWindowWin.py +++ b/qrainbowstyle/windows/FramelessWindowWin.py @@ -36,8 +36,8 @@ class FramelessWindow(FramelessWindowBase): Available features: - window moving - window resizing - - maximize on double click on titlebar - - native snap to borders + - maximize on double-click on titlebar + - native snap to border - Aero shake - window shadow """