2 Commits

Author SHA1 Message Date
81bb294297 remove useless window code
All checks were successful
Linux arm64 / Build (push) Successful in 4m34s
2024-03-30 10:04:55 +01:00
42966b1095 remove useless includes 2024-03-30 10:04:18 +01:00
2 changed files with 0 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
#include "client/config/BlitzConfig.h"
#include "blitz/misc/Log.h"
#include "client/display/PlayerController.h"
#include "imgui.h"
#include <fstream>
#include <nlohmann/json.hpp>

View File

@@ -4,7 +4,6 @@
#include "blitz/misc/Log.h"
#include "client/Client.h"
#include "client/display/InputManager.h"
#include "client/display/PlayerController.h"
#include "client/gui/FPSMenu.h"
#include <SDL2/SDL.h>
#include <imgui.h>
@@ -164,10 +163,6 @@ void OptionsMenu::Render() {
ImGuiTabBarFlags tab_bar_flags = ImGuiTabBarFlags_None;
if (ImGui::BeginTabBar("OPTIONS", tab_bar_flags)) {
if (ImGui::BeginTabItem("CONTROLES")) {
// Always center this window when appearing
ImVec2 center = ImGui::GetMainViewport()->GetCenter();
ImGui::SetNextWindowPos(center, ImGuiCond_Appearing, ImVec2(0.5f, 0.5f));
HotkeyBindingButton();
HotkeyBindingPopUp();
float sensitivity = m_Client->GetConfig()->GetMouseSpeed() * 200.0f;