Skip to content

Commit 72f4895

Browse files
committed
patch(ImGui_Debugger): stop the frame profiler window from constantly setting its position
1 parent a207aee commit 72f4895

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.30.0..4.3.0)
22
project(Nostalgia
3-
VERSION 0.16.1
3+
VERSION 0.16.2
44
LANGUAGES CXX C)
55

66
option(BUILD_SHARED_LIBS "Build the shared version of Nostalgia (Linux only)" OFF)

Editor/gui/imgui_debugger.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ static void s_FPSCounter()
514514
ImVec2 _window_size{GetWindowSize()};
515515
if(_first_run == 2)
516516
{
517+
++_first_run;
517518
_fps_counter_position = FPS_COUNTER_UR;
518519
SetWindowPos(_fps_counter_pos = {static_cast<float>(MainWindow()->GetWidth() - _window_size[0]), 0});
519520
}

Nostalgia/Nostalgia.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#define NOSTALGIA_VERSION_MAJOR 0
88
#define NOSTALGIA_VERSION_MINOR 16
9-
#define NOSTALGIA_VERSION_PATCH 1
9+
#define NOSTALGIA_VERSION_PATCH 2
1010
#define NOSTALGIA_VERSION_STRING \
1111
__n_make_string(NOSTALGIA_VERSION_MAJOR) "." \
1212
__n_make_string(NOSTALGIA_VERSION_MINOR) "." \

0 commit comments

Comments
 (0)