From b8541c8e9da321df180b4b439974200262f41a83 Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 21 Jun 2022 23:05:26 +0200 Subject: [PATCH] Fix typo. --- modules/paint/paint_canvas.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/paint/paint_canvas.cpp b/modules/paint/paint_canvas.cpp index 228ab0ab6..b5ac3eae0 100644 --- a/modules/paint/paint_canvas.cpp +++ b/modules/paint/paint_canvas.cpp @@ -541,8 +541,8 @@ void PaintCanvas::resize(int width, int height) { _canvas_height = height; Size2 s; - s.x = _canvas_height * _pixel_size; - s.y = _canvas_width * _pixel_size; + s.x = _canvas_width * _pixel_size; + s.y = _canvas_height * _pixel_size; set_size(s); preview_layer->resize(width, height);