From 0a20f77b0862696a3a93634eec0c106042f634e5 Mon Sep 17 00:00:00 2001 From: cacaodev Date: Sat, 13 Jun 2015 21:06:17 +0200 Subject: [PATCH] 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. --- AppKit/CPView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPView.j b/AppKit/CPView.j index 36ed408bb..bf90801d4 100644 --- a/AppKit/CPView.j +++ b/AppKit/CPView.j @@ -2594,7 +2594,7 @@ setBoundsOrigin: } #if PLATFORM(DOM) - if (_needToSetTransformMatrix) + if (_needToSetTransformMatrix && _highDPIRatio !== 1) [_graphicsContext graphicsPort].setTransform(_highDPIRatio, 0, 0 , _highDPIRatio, 0, 0); #endif