ui: Bug fix: Scale was wrong when magnifier is enabled

Fixes #244
This commit is contained in:
Hajime Hoshi 2017-11-09 02:06:35 +09:00
parent d5bb59c333
commit ededc5874b

View File

@ -21,8 +21,8 @@ package ui
//
// #import <UIKit/UIKit.h>
//
// static int devicePixelRatio() {
// return [[UIScreen mainScreen] scale];
// static double devicePixelRatio() {
// return [[UIScreen mainScreen] nativeScale];
// }
import "C"