ui.backend.cocoa.views: set gl-scale-factor to f if 1.0.
parent
5512294075
commit
fb7f53485a
|
@ -397,7 +397,7 @@ CLASS: FactorWindowDelegate < NSObject
|
||||||
notification -> object dup SEL: backingScaleFactor
|
notification -> object dup SEL: backingScaleFactor
|
||||||
-> respondsToSelector: c-bool> [
|
-> respondsToSelector: c-bool> [
|
||||||
SEND: backingScaleFactor execute( x x -- x )
|
SEND: backingScaleFactor execute( x x -- x )
|
||||||
[ gl-scale-factor set-global ]
|
[ [ 1.0 > ] keep f ? gl-scale-factor set-global ]
|
||||||
[ 1.0 > retina? set-global ] bi
|
[ 1.0 > retina? set-global ] bi
|
||||||
] [ drop ] if
|
] [ drop ] if
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue