File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ func select_palette(palette_name: String) -> void:
51
51
if current_palette :
52
52
project .project_current_palette_name = palette_name
53
53
else :
54
- # Attemt to find the last used palette (select if it's a global palette)
54
+ # Attempt to find the last used palette (select if it's a global palette)
55
55
var last_active_palette : String = Global .config_cache .get_value (
56
56
"data" , "last_palette" , DEFAULT_PALETTE_NAME
57
57
)
Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ func move_transform(pos: Vector2) -> void:
387
387
var final_pos := pos
388
388
if Tools .is_placing_tiles ():
389
389
# NOTE: we don't use offset here because the [param pos] is expected to already have
390
- # offseted coordinates.
390
+ # offsetted coordinates.
391
391
var grid_size := (Global .current_project .get_current_cel () as CelTileMap ).get_tile_size ()
392
392
final_pos = Tools .snap_to_rectangular_grid_boundary (pos , grid_size , Vector2 .ZERO )
393
393
preview_transform = preview_transform .translated (final_pos )
Original file line number Diff line number Diff line change @@ -402,7 +402,6 @@ func _on_tile_button_popup_menu_index_pressed(index: int) -> void:
402
402
project .undo_redo .commit_action ()
403
403
elif index == 3 : # Duplicate tile
404
404
var project = Global .current_project
405
- var tile_cel = Global .current_project .get_current_cel ()
406
405
var undo_data_tileset := current_tileset .serialize_undo_data ()
407
406
var tilemap_cels : Array [CelTileMap ] = []
408
407
var redo_data_tilemaps := {}
You can’t perform that action at this time.
0 commit comments