mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 09:09:47 +00:00
Mirror image image effect now works with indexed mode
This commit is contained in:
parent
a698668930
commit
616bd91c49
|
@ -43,6 +43,8 @@ func _flip_image(cel: Image, affect_selection: bool, project: Project) -> void:
|
|||
if flip_v.button_pressed:
|
||||
selected.flip_y()
|
||||
cel.blend_rect(selected, Rect2i(Vector2i.ZERO, selected.get_size()), rectangle.position)
|
||||
if cel is ImageExtended:
|
||||
cel.convert_rgb_to_indexed()
|
||||
|
||||
|
||||
func _commit_undo(action: String, undo_data: Dictionary, project: Project) -> void:
|
||||
|
|
Loading…
Reference in a new issue