FIXED: In CPView, the transformation matrix was set at each drawing pass, even if the matrix was the identity matrix.

Now we check if the highDPI ratio is == 1 and skip the setTransform call in this case.
This commit is contained in:
cacaodev
2015-06-13 21:06:17 +02:00
parent c26aca4686
commit 0a20f77b08
+1 -1
View File
@@ -2594,7 +2594,7 @@ setBoundsOrigin:
}
#if PLATFORM(DOM)
if (_needToSetTransformMatrix)
if (_needToSetTransformMatrix && _highDPIRatio !== 1)
[_graphicsContext graphicsPort].setTransform(_highDPIRatio, 0, 0 , _highDPIRatio, 0, 0);
#endif