summaryrefslogtreecommitdiffstats
path: root/virtual-programs
diff options
context:
space:
mode:
Diffstat (limited to 'virtual-programs')
-rw-r--r--virtual-programs/display/text.folk5
1 files changed, 4 insertions, 1 deletions
diff --git a/virtual-programs/display/text.folk b/virtual-programs/display/text.folk
index 0233a450..fa68aa40 100644
--- a/virtual-programs/display/text.folk
+++ b/virtual-programs/display/text.folk
@@ -213,8 +213,11 @@ On process "display" {
When (non-capturing) /someone/ wishes to draw text with /...options/ {
if {[dict exists $options center]} {
+ # This is deprecated
lassign [dict get $options center] x0 y0
- } else {
+ } elseif {[dict exists $options position]} {
+ lassign [dict get $options position] x0 y0
+ else {
set x0 [dict get $options x]
set y0 [dict get $options y]
}