summaryrefslogtreecommitdiff
path: root/src/imgui_ui.cpp
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2023-02-19 12:29:35 -0500
committerFox Caminiti <fox@foxcam.net>2023-02-19 12:29:35 -0500
commitf20410406d863eea35894d00cd3ca5228d403743 (patch)
tree73d78a1fea627170b90b32e9ec94694e11bf83d8 /src/imgui_ui.cpp
parent84aa5c466f57c9541243dbaa7442fdee734af7b7 (diff)
v4.3 blend modes added
Diffstat (limited to 'src/imgui_ui.cpp')
-rw-r--r--src/imgui_ui.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/imgui_ui.cpp b/src/imgui_ui.cpp
index 57d3f79..546392a 100644
--- a/src/imgui_ui.cpp
+++ b/src/imgui_ui.cpp
@@ -596,11 +596,12 @@ ImGui_ProcessInputs(project_data *File, project_state *State, ui *UI, memory *Me
if (ImGui::IsKeyPressed(ImGuiKey_Delete))
{
- Bezier_Delete_Selected(File, State, Memory,
- Sorted.LayerArray, Sorted.CompArray,
- Sorted.PropertyStart, Sorted.PropertyArray);
+ State->HotkeyInput = hotkey_deletelayer;
#if 0
if (State->FocusedWindow == focus_timeline) {
+ Bezier_Delete_Selected(File, State, Memory,
+ Sorted.LayerArray, Sorted.CompArray,
+ Sorted.PropertyStart, Sorted.PropertyArray);
} else {
State->HotkeyInput = hotkey_deletelayer;
}