Fix typo.

This commit is contained in:
Relintai 2022-06-11 21:17:26 +02:00
parent f0ac767970
commit aa38f53ed2

View File

@ -24,12 +24,12 @@ SOFTWARE.
#include "paint_canvas.h"
#include "paint_canvas_background.h"
#include "paint_canvas_outline.h"
#include "paint_utilities.h"
#include "paint_visual_grid.h"
#include "scene/gui/control.h"
#include "scene/gui/texture_rect.h"
#include "paint_canvas_background.h"
#include "paint_canvas_layer.h"
@ -135,7 +135,7 @@ void PaintCanvas::set_canvas_height(const int val) {
_canvas_height = val;
Size2 s = get_size();
s.x = _canvas_height * _pixel_size;
s.y = _canvas_height * _pixel_size;
set_size(s);
}
void PaintCanvas::toggle_alpha_locked(const String &layer_name) {