Skip to content

Commit

Permalink
codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
mi-sts committed Jun 9, 2024
1 parent cd95241 commit 1965662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/solve/rendering/canvas/SceneCanvas.kt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import solve.rendering.engine.scene.Scene as EngineScene
*/
class SceneCanvas : OpenGLCanvas() {
val displayScale: Float
get () = canvas.scene?.window?.renderScaleX?.toFloat() ?: 1f
get() = canvas.scene?.window?.renderScaleX?.toFloat() ?: 1f

val scaledIdentityFramesSizeScale: Float
get() = IdentityFramesSizeScale * displayScale
Expand Down

0 comments on commit 1965662

Please sign in to comment.