We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5d93ff commit 0279cd4Copy full SHA for 0279cd4
src/OSWindow-Core/OSWorldRendererScalingCanvas.class.st
@@ -36,7 +36,11 @@ OSWorldRendererScalingCanvas >> doActivate [
36
37
super doActivate.
38
self osWindow backendWindow renderer canvasBlock: [ :formCanvas |
39
- ScalingCanvas formCanvas: formCanvas scale: world scaleFactor reciprocal ]
+ | scale |
40
+ scale := world scaleFactor reciprocal.
41
+ (scale ~= 1 and: [ scale truncated = scale ])
42
+ ifTrue: [ ScalingCanvas formCanvas: formCanvas scale: scale ]
43
+ ifFalse: [ formCanvas ] ]
44
]
45
46
{ #category : 'operations' }
0 commit comments