Fix: Profiler and Visual Profiler start/stop state inconsistency
This commit is contained in:
parent
2e657e51f8
commit
97e991929f
5 changed files with 45 additions and 6 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue