File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 150150 if ( isMobile ) {
151151 // Define a maximum pixel ratio for mobile to avoid rendering at too high resolutions
152152 const maxPixelRatioMobile = 2.0 ;
153- config . devicePixelRatio = Math . min ( window . devicePixelRatio , maxDevicePixelRatio ) ;
153+ config . devicePixelRatio = Math . min ( window . devicePixelRatio , maxPixelRatioMobile ) ;
154154 }
155155
156156 var canvas = document . querySelector ( "#unity-canvas" ) ;
Original file line number Diff line number Diff line change 149149 if ( isMobile ) {
150150 // Define a maximum pixel ratio for mobile to avoid rendering at too high resolutions
151151 const maxPixelRatioMobile = 2.0 ;
152- config . devicePixelRatio = Math . min ( window . devicePixelRatio , maxDevicePixelRatio ) ;
152+ config . devicePixelRatio = Math . min ( window . devicePixelRatio , maxPixelRatioMobile ) ;
153153 }
154154
155155 var canvas = document . querySelector ( "#unity-canvas" ) ;
Original file line number Diff line number Diff line change 1- m_EditorVersion: 2022.2.13f1
2- m_EditorVersionWithRevision: 2022.2.13f1 (5f5de2657605 )
1+ m_EditorVersion: 2022.2.14f1
2+ m_EditorVersionWithRevision: 2022.2.14f1 (b2c9b1ac6cc0 )
You can’t perform that action at this time.
0 commit comments