Adjusted Discord UI

This commit is contained in:
Starman0620 2021-04-19 20:59:39 -04:00
parent 3a142b0d85
commit 35d50c91c7

View File

@ -39,16 +39,16 @@ public:
private:
static void menuHandler(void* ctx) {
PresenceModule* _this = (PresenceModule*)ctx;
if(!_this->enabled) { style::beginDisabled(); }
if (!_this->enabled) { style::beginDisabled(); }
float menuWidth = ImGui::GetContentRegionAvailWidth();
// GUI
ImGui::BeginGroup();
ImGui::Text("Hello, SDR++ world! - Starman0620");
ImGui::Text("Connecting to Discord...");
ImGui::EndGroup();
if(!_this->enabled) { style::endDisabled(); }
if (!_this->enabled) { style::endDisabled(); }
}
std::string name;