Last active
July 21, 2017 20:05
-
-
Save otsaloma/9bdd7e65cd1e98543ad7841c3df1254b to your computer and use it in GitHub Desktop.
Poor Maps position centering testing circle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rectangle { | |
id: circle | |
color: "red" | |
opacity: 0.2 | |
radius: width/2 | |
z: 10000 | |
} | |
// onPositionChanged: | |
circle.x = cx - threshold; | |
circle.y = cy - threshold; | |
circle.width = threshold * 2; | |
circle.height = threshold * 2; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment