From 875b1762fab463d02203390a59f8b872fa7dd4a1 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 18 Mar 2018 22:07:50 -0400 Subject: [PATCH] Revert light glow intensity --- dep/oui-blendish | 2 +- src/app/LightWidget.cpp | 4 ++-- src/app/ModuleBrowser.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dep/oui-blendish b/dep/oui-blendish index b7066201..383f24f6 160000 --- a/dep/oui-blendish +++ b/dep/oui-blendish @@ -1 +1 @@ -Subproject commit b7066201022a757cbcbd986d8c91d565e4daef90 +Subproject commit 383f24f6ed41facf25eda0d32b0f6bc9aee96e53 diff --git a/src/app/LightWidget.cpp b/src/app/LightWidget.cpp index c49c520b..ae296391 100644 --- a/src/app/LightWidget.cpp +++ b/src/app/LightWidget.cpp @@ -32,13 +32,13 @@ void LightWidget::drawLight(NVGcontext *vg) { void LightWidget::drawHalo(NVGcontext *vg) { float radius = box.size.x / 2.0; - float oradius = radius + 20.0; + float oradius = radius + 15.0; nvgBeginPath(vg); nvgRect(vg, radius - oradius, radius - oradius, 2*oradius, 2*oradius); NVGpaint paint; - NVGcolor icol = colorMult(color, 0.10); + NVGcolor icol = colorMult(color, 0.08); NVGcolor ocol = nvgRGB(0, 0, 0); paint = nvgRadialGradient(vg, radius, radius, radius, oradius, icol, ocol); nvgFillPaint(vg, paint); diff --git a/src/app/ModuleBrowser.cpp b/src/app/ModuleBrowser.cpp index 88d9455f..374e6e8b 100644 --- a/src/app/ModuleBrowser.cpp +++ b/src/app/ModuleBrowser.cpp @@ -59,7 +59,7 @@ struct SeparatorItem : OpaqueWidget { Label *label = Widget::create