summaryrefslogtreecommitdiff
path: root/src/imgui_ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imgui_ui.cpp')
-rw-r--r--src/imgui_ui.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/imgui_ui.cpp b/src/imgui_ui.cpp
index 546392a..aa09bfb 100644
--- a/src/imgui_ui.cpp
+++ b/src/imgui_ui.cpp
@@ -131,6 +131,15 @@ ImGui_ColorPanel(project_data *File, project_state *State, ui *UI, memory *Memor
UI->AltColor = Temp;
}
+ const char *Name = (State->DuplicateMode & sortflag_up) ? "Up" : "Down";
+ if (ImGui::MenuItem(Name, NULL)) {
+ State->DuplicateMode ^= sortflag_up;
+ }
+ Name = (State->DuplicateMode & sortflag_furthest) ? "Furthest" : "Above";
+ if (ImGui::MenuItem(Name, NULL)) {
+ State->DuplicateMode ^= sortflag_furthest;
+ }
+
if (State->Tool == tool_default) {
if (ImGui::MenuItem("All", NULL, (State->SelectionMode == 0))) {
State->SelectionMode = 0;