window pos

This commit is contained in:
2025-12-20 13:46:50 -05:00
parent 4574ff0f84
commit 99e56eabdf
4 changed files with 34 additions and 3 deletions
+2 -1
View File
@@ -1035,11 +1035,12 @@ namespace anm2ed::imgui
if (isDragging)
{
playback.time = hoveredTime;
playback.clamp(settings.playbackIsClamp ? length : anm2::FRAME_NUM_MAX);
document.frameTime = playback.time;
}
playback.clamp(settings.playbackIsClamp ? length : anm2::FRAME_NUM_MAX);
if (ImGui::IsMouseReleased(ImGuiMouseButton_Left)) isDragging = false;
if (length > 0)