mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-07 10:59:49 +00:00
github static checks 2
This commit is contained in:
parent
01664dd058
commit
eb77d05cc3
|
@ -37,11 +37,11 @@ func _flip_rotate_updated(
|
||||||
):
|
):
|
||||||
$BrushTexture.set_flip_h(flip_x)
|
$BrushTexture.set_flip_h(flip_x)
|
||||||
$BrushTexture.set_flip_v(flip_y)
|
$BrushTexture.set_flip_v(flip_y)
|
||||||
var _rotation = 0
|
var _rotation_BrushTexture = 0
|
||||||
if rotate_90 == true:
|
if rotate_90 == true:
|
||||||
_rotation += 90
|
_rotation_BrushTexture += 90
|
||||||
if rotate_180 == true:
|
if rotate_180 == true:
|
||||||
_rotation += 180
|
_rotation_BrushTexture += 180
|
||||||
if rotate_270 == true:
|
if rotate_270 == true:
|
||||||
_rotation += 270
|
_rotation_BrushTexture += 270
|
||||||
$BrushTexture.rotation_degrees = _rotation
|
$BrushTexture.rotation_degrees = _rotation_BrushTexture
|
||||||
|
|
Loading…
Reference in a new issue