diff options
| author | Brianna | 2017-05-29 20:47:51 -0400 |
|---|---|---|
| committer | GitHub | 2017-05-29 20:47:51 -0400 |
| commit | 7240f25deb21db365f39d00c50eb07d41dc4c797 (patch) | |
| tree | d765bd8753524dc2fd5109b1d9183c76ca49b15d /components/text.py | |
| parent | d1852619dfa22833cc5fd13af17afe031ee08ece (diff) | |
| parent | 369ac2a855c70b717c5b8a94ce5e97e1e4a0fc59 (diff) | |
added static components which don't get called each frame when rendering
Diffstat (limited to 'components/text.py')
| -rw-r--r-- | components/text.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/text.py b/components/text.py index c7f37c1..c9359f2 100644 --- a/components/text.py +++ b/components/text.py @@ -81,6 +81,10 @@ class Component(__base__.Component): width = int(previewWorker.core.settings.value('outputWidth')) height = int(previewWorker.core.settings.value('outputHeight')) return self.addText(width, height) + + def preFrameRender(self, **kwargs): + super().preFrameRender(**kwargs) + return ['static'] def frameRender(self, moduleNo, frameNo): width = int(self.worker.core.settings.value('outputWidth')) |
