private void y_ValueChanged(object sender, EventArgs e) { if (!canDetect) { return; } tm.y = (int)y.Value; Tilemapper.ConvertAndSetMap(tm); Tilemapper.SetCurrentTile(); }
private void tilesize_ValueChanged(object sender, EventArgs e) { if (!canDetect) { return; } tm.tilesize = (int)tilesize.Value; Tilemapper.RefreshEditingEvent(); Tilemapper.SetCurrentTile(); }