mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
refactor the formula for findX
This commit is contained in:
@@ -227,7 +227,7 @@ export default {
|
||||
const X_Cordinates = value[this.gamesCircle]
|
||||
|
||||
if (X_Cordinates >= 5) {
|
||||
const findX = Math.floor((X_Cordinates / 5) * 5)
|
||||
const findX = Math.ceil((X_Cordinates / 5) * 5)
|
||||
console.log(findX)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user