mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Add the ability to limit-rate the dashboard updating (#3527)
Co-authored-by: Emma Broman <emma.broman@liu.se>
This commit is contained in:
@@ -123,6 +123,8 @@ DashboardItemInstruments::DashboardItemInstruments(const ghoul::Dictionary& dict
|
||||
addProperty(_activeFlash);
|
||||
}
|
||||
|
||||
void DashboardItemInstruments::update() {}
|
||||
|
||||
void DashboardItemInstruments::render(glm::vec2& penPosition) {
|
||||
ZoneScoped;
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ public:
|
||||
explicit DashboardItemInstruments(const ghoul::Dictionary& dictionary);
|
||||
~DashboardItemInstruments() override = default;
|
||||
|
||||
void update() override;
|
||||
void render(glm::vec2& penPosition) override;
|
||||
|
||||
glm::vec2 size() const override;
|
||||
|
||||
Reference in New Issue
Block a user