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_visual_profiler.h | |
parent | 2e657e51f8818401f0a54a0df3d3e74446044b93 (diff) | |
download | redot-engine-97e991929f8561928913c7fe6413184121414aaa.tar.gz |
Fix: Profiler and Visual Profiler start/stop state inconsistency
Diffstat (limited to 'editor/debugger/editor_visual_profiler.h')
-rw-r--r-- | editor/debugger/editor_visual_profiler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/debugger/editor_visual_profiler.h b/editor/debugger/editor_visual_profiler.h index 8aa9e7b308..8180d354e8 100644 --- a/editor/debugger/editor_visual_profiler.h +++ b/editor/debugger/editor_visual_profiler.h @@ -101,6 +101,8 @@ private: Timer *frame_delay = nullptr; Timer *plot_delay = nullptr; + void _update_button_text(); + void _update_frame(bool p_focus_selected = false); void _activate_pressed(); @@ -133,6 +135,7 @@ protected: public: void add_frame_metric(const Metric &p_metric); void set_enabled(bool p_enable); + void set_pressed(bool p_pressed); bool is_profiling(); bool is_seeking() { return seeking; } void disable_seeking(); |