diff --git a/src/main.cpp b/src/main.cpp index 6a6077d..abebd36 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -174,7 +174,7 @@ void hkRenderWindow( pWindow->m_floatingOffset -= Vector2D {windowBox.x, windowBox.y}; // HACK: otherwise renderWindow will set an opaque region at top-left - pWindow->m_activeInactiveAlpha->setValueAndWarp(0.999f); + pWindow->m_alpha->setValueAndWarp(pWindow->m_alpha->goal() - 0.001f); pRenderer->m_renderPass.add(makeUnique(&windowFB)); } @@ -194,8 +194,8 @@ void hkRenderWindow( if (shouldWobble) { pWindow->m_floatingOffset += Vector2D {windowBox.x, windowBox.y}; - // FIXME: restore full opacity, which is uh wrong - pWindow->m_activeInactiveAlpha->setValueAndWarp(1.f); + // HACK: this might interfere with anims, but it's all I got + pWindow->m_alpha->setValueAndWarp(pWindow->m_alpha->goal() + 0.001f); pRenderer->m_renderPass.add( makeUnique(pOldFramebuffer, pWindow)