Skip to content

Commit

Permalink
Trying again
Browse files Browse the repository at this point in the history
  • Loading branch information
AKMaily committed Aug 29, 2024
1 parent cc7842c commit 9f790b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@
"title": "Omniview 0.5",
"window": {
"color": {
"blue": 0.7,
"green": 0.7,
"red": 0.7,
"blue": 0.1,
"green": 0.1,
"red": 0.1,
"transparency": 1.0
},
"sizex": 1920,
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "style.hpp"

int main() {
const std::string configpath = "config/config.json";
const std::string configpath = "../config/config.json";
set_config(configpath);
nlohmann::json config = load_json_file(configpath);
set_json(config);
Expand Down
2 changes: 1 addition & 1 deletion src/style.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void SetupImGuiStyle(bool bStyleDark_, float alpha_) {
colors[ImGuiCol_PlotHistogram] = {0.9f, 0.7f, 0.f, 1.f};
colors[ImGuiCol_PlotHistogramHovered] = {1.f, 0.6f, 0.f, 1.f};
colors[ImGuiCol_TextSelectedBg] = {0.26f, 0.59f, 0.98f, 0.35f};
colors[ImGuiCol_DragDropTarget] = {0.2f, 0.2f, 0.2f, 0.35f};
colors[ImGuiCol_DragDropTarget] = {0.2f, 0.2f, 0.2f, 0.35f};

if (bStyleDark_) {
for (int i = 0; i < ImGuiCol_COUNT; i++) {
Expand Down

0 comments on commit 9f790b9

Please sign in to comment.