mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-07-26 16:44:02 +02:00
imgui_utils: expose lerp values to BREATHE_MOTION macro
This commit is contained in:
@@ -216,7 +216,7 @@ void DrawButton(int rowIndex, float yOffset, float width, float height, std::str
|
||||
if (isSelected)
|
||||
{
|
||||
static auto breatheStart = ImGui::GetTime();
|
||||
auto alpha = BREATHE_MOTION(breatheStart, 0.92f);
|
||||
auto alpha = BREATHE_MOTION(1.0f, 0.55f, breatheStart, 0.92f);
|
||||
auto colour = IM_COL32(255, 255, 255, 255 * alpha);
|
||||
|
||||
auto width = Scale(11);
|
||||
|
||||
Reference in New Issue
Block a user