Skip to content
Snippets Groups Projects
Commit 1cf44bb6 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Fix stats view mouse click issue

parent 6b194796
No related branches found
No related tags found
1 merge request!316Resolves #343 GUI and Frame Refactor
Pipeline #28504 failed
...@@ -15,6 +15,8 @@ public: ...@@ -15,6 +15,8 @@ public:
StatisticsWidget(nanogui::Widget *parent, Statistics* ctrl); StatisticsWidget(nanogui::Widget *parent, Statistics* ctrl);
virtual void draw(NVGcontext *ctx); virtual void draw(NVGcontext *ctx);
bool mouseButtonEvent(const Eigen::Vector2i &p, int button, bool down, int modifiers) override { return false; }
private: private:
Statistics* ctrl_; Statistics* ctrl_;
int last_stats_count_; int last_stats_count_;
......
...@@ -180,6 +180,7 @@ void ManualSourceBuilder::tick() { ...@@ -180,6 +180,7 @@ void ManualSourceBuilder::tick() {
if (!src_->retrieve(fs->firstFrame())) { if (!src_->retrieve(fs->firstFrame())) {
LOG(WARNING) << "Frame was skipping"; LOG(WARNING) << "Frame was skipping";
fs->firstFrame().message(ftl::data::Message::WARNING_FRAME_DROP, "Frame is being skipped");
} }
cb_.trigger(fs); cb_.trigger(fs);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment