mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-10 12:59:40 +01:00
Fix typo.
This commit is contained in:
parent
f0ac767970
commit
aa38f53ed2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user