Commit 308e4b61 authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau

Merge pull request #24 from ProjectSeptemberInc/fix/screenScale

use device screen scale for canvas scale factor
parents a8a2c46b d3a5f73e
...@@ -58,6 +58,7 @@ NSString* srcResource (id res) ...@@ -58,6 +58,7 @@ NSString* srcResource (id res)
_preloaded = [[NSMutableArray alloc] init]; _preloaded = [[NSMutableArray alloc] init];
_preloadingDone = false; _preloadingDone = false;
self.context = context; self.context = context;
self.contentScaleFactor = RCTScreenScale();
} }
return self; return self;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment