Skip to content

Commit 39b2206

Browse files
WhiteWhite
authored andcommitted
smart move barister
1 parent a6e8cc8 commit 39b2206

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

CMakeSettings.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "x64-Debug",
5+
"generator": "Ninja",
6+
"configurationType": "Debug",
7+
"inheritEnvironments": [ "msvc_x64_x64" ],
8+
"buildRoot": "${projectDir}\\out\\build\\${name}",
9+
"installRoot": "${projectDir}\\out\\install\\${name}",
10+
"cmakeCommandArgs": "",
11+
"buildCommandArgs": "",
12+
"ctestCommandArgs": ""
13+
},
14+
{
15+
"name": "x64-Release",
16+
"generator": "Ninja",
17+
"configurationType": "RelWithDebInfo",
18+
"buildRoot": "${projectDir}\\out\\build\\${name}",
19+
"installRoot": "${projectDir}\\out\\install\\${name}",
20+
"cmakeCommandArgs": "",
21+
"buildCommandArgs": "",
22+
"ctestCommandArgs": "",
23+
"inheritEnvironments": [ "msvc_x64_x64" ],
24+
"variables": []
25+
}
26+
]
27+
}

src/Client/Module/Modules/FPS/FPSListener.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class FPSListener : public Listener {
2525
Vec2<float> round = Constraints::RoundingConstraint(40, 40);
2626

2727
Vec2<float> rectcenter = Constraints::CenterConstraint(textWidth, textHeight);
28-
Vec2<float> center = = Constraints::CenterConstraint(textWidth, textHeight);
28+
Vec2<float> center = Constraints::CenterConstraint(textWidth, textHeight);
2929

3030
FlarialGUI::RoundedRect(center.x, center.y, D2D1::ColorF(18.0f / 255.0f, 14.0f / 255.0f, 15.0f / 255.0f), textWidth, textHeight, round.x, round.x);
3131
FlarialGUI::FlarialText(center.x, center.y, FlarialGUI::to_wide(std::format("FPS: {}", MC::fps)).c_str(), D2D1::ColorF(32.0f/255.0f, 26.0f/255.0f, 27.0f/255.0f), textWidth, textHeight);

0 commit comments

Comments
 (0)