Updated to ImGui 1.87 to cleanup UI code
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
#include <gui/gui.h>
|
||||
#include <sched_task.h>
|
||||
#include <map>
|
||||
#include <keybinds.h>
|
||||
|
||||
SDRPP_MOD_INFO{
|
||||
/* Name: */ "scheduler",
|
||||
@@ -101,8 +100,7 @@ private:
|
||||
|
||||
if (ImGui::Selectable((name + "##_freq_mgr_bkm_name_" + _this->name).c_str(), &bm.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) {
|
||||
for (auto& [_name, _bm] : _this->tasks) {
|
||||
if (name == _name) { continue; }
|
||||
_bm.selected = false;
|
||||
|
||||
Reference in New Issue
Block a user