ui.images: fix for gl-scale-factor not being set.

master
John Benediktsson 2020-05-19 19:10:51 -07:00
parent 27c9792108
commit 149cc270ff
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ MEMO: cached-image-path ( path -- image )
PRIVATE>
: cached-image ( image-name -- image )
path>> gl-scale-factor get-global 1.0 > [
path>> gl-scale-factor get-global [ 1.0 > ] [ f ] if* [
"." split1-last "@2x." glue
] when cached-image-path ;