imgui_utils: expose lerp values to BREATHE_MOTION macro

This commit is contained in:
Hyper
2025-01-29 07:18:36 +00:00
parent d5d2e83a10
commit 863e1602ff
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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);