Skip to content

Commit

Permalink
Add fix so actors can be multi selected
Browse files Browse the repository at this point in the history
  • Loading branch information
KillzXGaming committed Dec 15, 2023
1 parent 86ddb68 commit 9880b6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Fushigi/ui/widgets/LevelViewport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface IViewportSelectable
void OnSelect(CourseAreaEditContext editContext);
public static void DefaultSelect(CourseAreaEditContext ctx, object selectable)
{
if (ImGui.IsKeyDown(ImGuiKey.LeftShift))
if (ImGui.GetIO().KeyShift || ImGui.GetIO().KeyCtrl)
{
ctx.Select(selectable);
}
Expand Down Expand Up @@ -199,7 +199,7 @@ public void SelectBGUnit(BGUnitRail rail)

public void SelectedActor(CourseActor actor)
{
if (ImGui.IsKeyDown(ImGuiKey.LeftShift))
if (ImGui.GetIO().KeyShift || ImGui.GetIO().KeyCtrl)
{
mEditContext.Select(actor);
}
Expand Down

0 comments on commit 9880b6c

Please sign in to comment.