TEMP DEV: force glitch on for the whole track, not just start/end
Easier to see while tuning it. Real condition is commented out just below, ready to restore -- revert this before shipping.
This commit is contained in:
1 parent
3273212bfe
commit
9ba3f856f1
1 file changed
+10
-5
+10
-5
@@ -188,11 +188,16 @@ def main(config):
|
||||
# (i.e. on a long-lived server -- see its own comment below for why a
|
||||
# one-shot `pixlet render` CLI call always sees elapsed=0). On a local
|
||||
# render this will always show the "starting" static, never "ending".
|
||||
show_static = (
|
||||
static_overlay_enabled and
|
||||
progress != None and
|
||||
(progress["elapsed"] < STATIC_OVERLAY_START_SECONDS or progress["remaining"] < STATIC_OVERLAY_END_SECONDS)
|
||||
)
|
||||
# TEMP DEV OVERRIDE: forces the glitch on for the entire track instead
|
||||
# of just the start/end windows, to make it easier to see while
|
||||
# tuning it. Remove this line (and uncomment the real condition below)
|
||||
# before shipping.
|
||||
show_static = static_overlay_enabled
|
||||
# show_static = (
|
||||
# static_overlay_enabled and
|
||||
# progress != None and
|
||||
# (progress["elapsed"] < STATIC_OVERLAY_START_SECONDS or progress["remaining"] < STATIC_OVERLAY_END_SECONDS)
|
||||
# )
|
||||
|
||||
# The show/host and time/temp rows always render, even when empty, so
|
||||
# they hold a fixed vertical position regardless of which fields a given
|
||||
|
||||