Cleanup: Use actual class instead of base class

Use the TranslateCanvasOperation class in the declaration instead of its
TranslateOperation class. This is just to clarify the code when reading
it.
This commit is contained in:
Omar Emara 2024-03-27 12:54:42 +02:00
parent 4d9678c483
commit 0709c07d04
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ void TranslateNode::convert_to_operations(NodeConverter &converter,
NodeInput *input_ysocket = this->get_input_socket(2);
NodeOutput *output_socket = this->get_output_socket(0);
TranslateOperation *operation = new TranslateCanvasOperation();
TranslateCanvasOperation *operation = new TranslateCanvasOperation();
operation->set_wrapping(data->wrap_axis);
operation->set_is_relative(data->relative);