From 1ffd2dd7e37d3be90522dfe768226334f60577f5 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 24 May 2021 18:50:59 -0400 Subject: Using offset+distance instead of from+to for text clipping. --- stdlib/source/test/lux/data/text.lux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/source/test') diff --git a/stdlib/source/test/lux/data/text.lux b/stdlib/source/test/lux/data/text.lux index 8102ae30e..b5c9f433b 100644 --- a/stdlib/source/test/lux/data/text.lux +++ b/stdlib/source/test/lux/data/text.lux @@ -274,7 +274,7 @@ #0))) (_.cover [/.clip /.clip'] (|> [(/.clip 0 sizeL sample) - (/.clip sizeL (/.size sample) sample) + (/.clip sizeL (n.- sizeL (/.size sample)) sample) (/.clip' sizeL sample) (/.clip' 0 sample)] (case> [(#.Right _l) (#.Right _r) (#.Right _r') (#.Right _f)] -- cgit v1.2.3