Skip to content

Commit

Permalink
Fixed CameraPane interactivity
Browse files Browse the repository at this point in the history
  • Loading branch information
smilefx committed Aug 19, 2024
1 parent 096d094 commit cf58f40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ val CameraPane = FC<CameraPaneProps> { props ->
var zoomLevel: Double = props.data.zoom
var maxZoom: Double = 10.0
var minZoom: Double = 0.01
var interactive: Boolean = true
var interactive: Boolean = props.data.interactive
val zoomLevels = listOf(0.01,0.012309185338821003,0.01720750265929715,0.024055056416761967,0.03362752577585457,0.047009263674717305,0.06571613046910042,0.09186720799786698,0.12842484554521405,0.1795302296951816,0.25097249085697504,0.35084448604504254,0.49045954386434326,0.6856330190030036,1.0,1.339888912168399,1.8730843174962588,2.6184595070441774,3.660449305984716,5.1170885345518275,7.153382790366966,10.0)

//TODO: Gets reset
Expand Down

0 comments on commit cf58f40

Please sign in to comment.