diff --git a/src/imgui/window/timeline.cpp b/src/imgui/window/timeline.cpp index 348d566..2adc659 100644 --- a/src/imgui/window/timeline.cpp +++ b/src/imgui/window/timeline.cpp @@ -18,6 +18,9 @@ using namespace glm; namespace anm2ed::imgui { + + constexpr auto WIDTH_MULTIPLIER = 1.25f; + constexpr auto COLOR_HIDDEN_MULTIPLIER = vec4(0.5f, 0.5f, 0.5f, 1.000f); constexpr auto FRAME_BORDER_COLOR_DARK = ImVec4(1.0f, 1.0f, 1.0f, 0.15f); constexpr auto FRAME_BORDER_COLOR_LIGHT = ImVec4(0.0f, 0.0f, 0.0f, 0.25f); @@ -1393,6 +1396,8 @@ namespace anm2ed::imgui else if (ImGui::GetContentRegionAvail().x > childWidth) childWidth = ImGui::GetContentRegionAvail().x; + childWidth *= WIDTH_MULTIPLIER; + ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2()); if (ImGui::BeginChild("##Frames List Child", viewListChildSize, true, ImGuiWindowFlags_HorizontalScrollbar)) { diff --git a/workshop/metadata.xml b/workshop/metadata.xml index 0b68497..334ed25 100644 --- a/workshop/metadata.xml +++ b/workshop/metadata.xml @@ -51,6 +51,6 @@ Alternatively, if you have subscribed to the mod, you can find the latest releas [h3]Happy animating![/h3] [img]https://files.catbox.moe/4auc1c.gif[/img] - 2.11 + 2.12 Public