Allow opening track settings by right-clicking track name

This commit is contained in:
Moulberry committed 2024-11-17 02:17:21 +08:00
1 parent c209ff2e23
commit 6ff92db726
1 file changed
+3
@@ -1645,6 +1645,9 @@ public class TimelineWindow {
keyframeTrack.nameEditField = ImGuiHelper.createResizableImString(name);
keyframeTrack.forceFocusTrack = true;
}
if (ImGui.isItemClicked(ImGuiMouseButton.Right)) {
ImGui.openPopup("##TrackPopup");
}
}
ImGui.sameLine();