diff options
| author | Omar Rizwan <omar@omar.website> | 2023-08-16 18:26:15 +0000 |
|---|---|---|
| committer | Omar Rizwan <omar@omar.website> | 2023-08-16 18:26:15 +0000 |
| commit | 0a02f43f28cbedd7143e0855935e41f163fe9105 (patch) | |
| tree | 915d0da17be306d89be3f4c5babee7d164a93be9 /virtual-programs | |
| parent | Support wish to display images. (diff) | |
| download | folk-0a02f43f28cbedd7143e0855935e41f163fe9105.tar.gz folk-0a02f43f28cbedd7143e0855935e41f163fe9105.zip | |
Image display rotation. WIP: Breaks camera slice
Diffstat (limited to 'virtual-programs')
| -rw-r--r-- | virtual-programs/images.folk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virtual-programs/images.folk b/virtual-programs/images.folk index d98c58d0..09359ac6 100644 --- a/virtual-programs/images.folk +++ b/virtual-programs/images.folk @@ -191,7 +191,7 @@ When /someone/ wishes /p/ displays image /im/ { # Compute a scale for im that will fit in the region width/height # Draw im with scale and rotation set center [region centroid $r] - Wish display runs [list Display::image {*}$center $im 0 1] + Wish display runs [list Display::image {*}$center $im [region angle $r] 1] } On unmatch { # HACK: Leaves time for the display to finish trying to display this. |
