]> gitweb.factorcode.org Git - factor.git/commitdiff
ui.backend.cocoa.views: clear cache to remove possibly non-retina stuff.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 28 Apr 2014 20:00:20 +0000 (13:00 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 28 Apr 2014 20:00:20 +0000 (13:00 -0700)
basis/ui/backend/cocoa/views/views.factor

index d1f4f31c0e527df88b33b404cafa34705644bf2b..6fa34952804e5366ab205c66e2d70461e711b82f 100644 (file)
@@ -160,6 +160,7 @@ CLASS: FactorView < NSOpenGLView NSTextInput
             self SEND: backingScaleFactor execute( x x -- x )
             dup 1.0 > [
                 gl-scale-factor set-global t retina? set-global
+                cached-lines get-global clear-assoc
             ] [ drop ] if
 
         ] when