summaryrefslogtreecommitdiffstats
path: root/virtual-programs
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2023-07-14 17:35:10 +0000
committerOmar Rizwan <omar@omar.website>2023-07-14 17:35:10 +0000
commit238fa509b76aefa185379ae6efce2ec52b63f97d (patch)
treedf3f784b275b3a1df15ca396be2f73ed23afe40f /virtual-programs
parentDisplay: remove logic that is in rotateMakeImage (diff)
downloadfolk-238fa509b76aefa185379ae6efce2ec52b63f97d.tar.gz
folk-238fa509b76aefa185379ae6efce2ec52b63f97d.zip
Done! Draw labels transparently; remove outline; accept all angles
Diffstat (limited to 'virtual-programs')
-rw-r--r--virtual-programs/label.folk6
1 files changed, 1 insertions, 5 deletions
diff --git a/virtual-programs/label.folk b/virtual-programs/label.folk
index 5f792aa0..bfc67ada 100644
--- a/virtual-programs/label.folk
+++ b/virtual-programs/label.folk
@@ -9,11 +9,7 @@ When /thing/ has region /region/ {
if {$text eq ""} { return }
set scale 1
- if {[abs $radians] < 3.14/2} {
- Display::text $x $y $scale $text $radians
- } else {
- Display::text $x $y $scale "BAD ANGLE" 0
- }
+ Display::text $x $y $scale $text $radians
}
}