mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2026-04-19 06:42:43 +00:00
Updated to ImGui 1.87 to cleanup UI code
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
#include <imgui.h>
|
||||
#include <gui/style.h>
|
||||
#include <sched_action.h>
|
||||
#include <keybinds.h>
|
||||
|
||||
class Task {
|
||||
public:
|
||||
@@ -78,8 +77,7 @@ public:
|
||||
|
||||
if (ImGui::Selectable((act->getName() + "##scheduler_task_actions_entry").c_str(), &act->selected, ImGuiSelectableFlags_SpanAllColumns | ImGuiSelectableFlags_SelectOnClick)) {
|
||||
// if shift or control isn't pressed, deselect all others
|
||||
if (!ImGui::IsKeyDown(KB_KEY_LSHIFT) && !ImGui::IsKeyDown(KB_KEY_RSHIFT) &&
|
||||
!ImGui::IsKeyDown(KB_KEY_LCTRL) && !ImGui::IsKeyDown(KB_KEY_RCTRL)) {
|
||||
if (!ImGui::GetIO().KeyShift && !ImGui::GetIO().KeyCtrl) {
|
||||
int _id = 0;
|
||||
for (auto& _act : actions) {
|
||||
if (_id == id) { continue; }
|
||||
|
||||
Reference in New Issue
Block a user