Fix typo.

This commit is contained in:
Relintai 2022-06-21 23:05:26 +02:00
parent 45d8f98459
commit b8541c8e9d

View File

@ -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);