mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-25 10:29:18 +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.h"
|
||||||
|
|
||||||
|
#include "paint_canvas_background.h"
|
||||||
#include "paint_canvas_outline.h"
|
#include "paint_canvas_outline.h"
|
||||||
#include "paint_utilities.h"
|
#include "paint_utilities.h"
|
||||||
#include "paint_visual_grid.h"
|
#include "paint_visual_grid.h"
|
||||||
#include "scene/gui/control.h"
|
#include "scene/gui/control.h"
|
||||||
#include "scene/gui/texture_rect.h"
|
#include "scene/gui/texture_rect.h"
|
||||||
#include "paint_canvas_background.h"
|
|
||||||
|
|
||||||
#include "paint_canvas_layer.h"
|
#include "paint_canvas_layer.h"
|
||||||
|
|
||||||
@ -135,7 +135,7 @@ void PaintCanvas::set_canvas_height(const int val) {
|
|||||||
_canvas_height = val;
|
_canvas_height = val;
|
||||||
|
|
||||||
Size2 s = get_size();
|
Size2 s = get_size();
|
||||||
s.x = _canvas_height * _pixel_size;
|
s.y = _canvas_height * _pixel_size;
|
||||||
set_size(s);
|
set_size(s);
|
||||||
}
|
}
|
||||||
void PaintCanvas::toggle_alpha_locked(const String &layer_name) {
|
void PaintCanvas::toggle_alpha_locked(const String &layer_name) {
|
||||||
|
Loading…
Reference in New Issue
Block a user