mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-10 21:09:38 +01:00
Fix typo.
This commit is contained in:
parent
45d8f98459
commit
b8541c8e9d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user