diff options
Diffstat (limited to 'src/renderer/painter.cpp')
-rw-r--r-- | src/renderer/painter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/renderer/painter.cpp b/src/renderer/painter.cpp index 95017465c3..9a52cb36d3 100644 --- a/src/renderer/painter.cpp +++ b/src/renderer/painter.cpp @@ -29,6 +29,10 @@ Painter::Painter(Transform& transform, Settings& settings, Style& style, GlyphAt glyphAtlas(glyphAtlas) { } +bool Painter::needsAnimation() const { + return frameHistory.needsAnimation(300); +} + void Painter::setup() { setupShaders(); |