diff options
| author | navewindre <boneyaard@gmail.com> | 2018-10-06 12:09:36 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-10-06 12:09:36 +0200 |
| commit | 3e0d8199fec5b6979dc280533de69dded4260a0f (patch) | |
| tree | d34767fd1041642024a41254c3488fb8e082b076 /internal_rewrite/ui_draw.h | |
| parent | 66dcb4cdcdb0d3efce0ba74c0c5ad79bc7c51111 (diff) | |
z\cxdtgs
Diffstat (limited to 'internal_rewrite/ui_draw.h')
| -rw-r--r-- | internal_rewrite/ui_draw.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal_rewrite/ui_draw.h b/internal_rewrite/ui_draw.h index 62a0068..d95b1c2 100644 --- a/internal_rewrite/ui_draw.h +++ b/internal_rewrite/ui_draw.h @@ -46,8 +46,8 @@ namespace ui float brightness = col_start.brightness( ) / 255.f;
float saturation = col_start.saturation( );
- float new_brightness = brightness > .5f ? brightness - 0.35f : brightness + 0.35f;
- float new_saturation = saturation > .5f ? saturation - 0.3f : saturation + 0.3f;
+ float new_brightness = brightness > .5f ? brightness - 0.2f : brightness + 0.2f;
+ float new_saturation = saturation > .5f ? saturation - 0.2f : saturation + 0.2f;
clr_t col_end = clr_t::from_hsb( col_start.hue( ), new_saturation, new_brightness );
col_end.a( ) = col_start.a( );
|
