mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-05 06:57:29 +08:00
Configuration dependant on blueprint, refactoring
This commit is contained in:
@@ -107,7 +107,7 @@ export default class Utility {
|
||||
* @param {Number[]} location
|
||||
* @param {Number} gridSize
|
||||
*/
|
||||
static snapToGrid(location, gridSize = Configuration.gridSize) {
|
||||
static snapToGrid(location, gridSize) {
|
||||
if (gridSize === 1) {
|
||||
return location
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user