Allow opening track settings by right-clicking track name

This commit is contained in:
Moulberry committed 2024-11-15 10:52:42 +08:00
1 parent 06f0fe658b
commit d2142e763e
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();