mirror of
https://github.com/hyprwm/hyprpicker.git
synced 2025-05-12 13:20:43 +01:00
core: Fix negative HSV values (#111)
* fixed description in CMakeLists.txt and fixed negative hsv * ran clang-format
This commit is contained in:
parent
c3777320b3
commit
36a24e61be
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ string(STRIP ${VER_RAW} VERSION)
|
|||
|
||||
project(
|
||||
hyprpicker
|
||||
DESCRIPTION "A blazing fast wayland wallpaper utility"
|
||||
DESCRIPTION "A wlroots-compatible Wayland color picker that does not suck"
|
||||
VERSION ${VERSION})
|
||||
|
||||
set(CMAKE_MESSAGE_LOG_LEVEL "STATUS")
|
||||
|
|
|
@ -721,7 +721,7 @@ void CHyprpicker::initMouse() {
|
|||
l_or_v = std::round(v * 100);
|
||||
}
|
||||
|
||||
h = std::round(h);
|
||||
h = std::round(h < 0 ? h + 360 : h);
|
||||
s = std::round(s * 100);
|
||||
|
||||
if (m_bFancyOutput)
|
||||
|
|
Loading…
Reference in a new issue