diff options
author | stmSi <stm1998sithumyo@gmail.com> | 2022-12-16 22:05:44 +0630 |
---|---|---|
committer | stmSi <stm1998sithumyo@gmail.com> | 2022-12-23 08:14:53 +0630 |
commit | 97e991929f8561928913c7fe6413184121414aaa (patch) | |
tree | 58083e650f9311b378849be8fad5e842f87cecf9 /editor/debugger/editor_profiler.h | |
parent | 2e657e51f8818401f0a54a0df3d3e74446044b93 (diff) |
Fix: Profiler and Visual Profiler start/stop state inconsistency
Diffstat (limited to 'editor/debugger/editor_profiler.h')
-rw-r--r-- | editor/debugger/editor_profiler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/debugger/editor_profiler.h b/editor/debugger/editor_profiler.h index e9ecc285ed..d0dd67688b 100644 --- a/editor/debugger/editor_profiler.h +++ b/editor/debugger/editor_profiler.h @@ -122,7 +122,7 @@ private: Timer *frame_delay = nullptr; Timer *plot_delay = nullptr; - void _set_button_text(); + void _update_button_text(); void _update_frame(); void _activate_pressed(); @@ -155,6 +155,7 @@ protected: public: void add_frame_metric(const Metric &p_metric, bool p_final = false); void set_enabled(bool p_enable, bool p_clear = true); + void set_pressed(bool p_pressed); bool is_profiling(); bool is_seeking() { return seeking; } void disable_seeking(); |