Merge pull request #9293 from MarianoGnu/master
Fix regresion on Texture Region Editor Plugin. Fixes #9282
This commit is contained in:
commit
320c1af616
@ -218,7 +218,7 @@ void TextureRegionEditor::_region_input(const Ref<InputEvent> &p_input) {
|
|||||||
mtx.xform(rect.position + Vector2(0, rect.size.y / 2)) + Vector2(-4, 0)
|
mtx.xform(rect.position + Vector2(0, rect.size.y / 2)) + Vector2(-4, 0)
|
||||||
};
|
};
|
||||||
|
|
||||||
Ref<InputEventMouseButton> mb;
|
Ref<InputEventMouseButton> mb = p_input;
|
||||||
if (mb.is_valid()) {
|
if (mb.is_valid()) {
|
||||||
|
|
||||||
if (mb->get_button_index() == BUTTON_LEFT) {
|
if (mb->get_button_index() == BUTTON_LEFT) {
|
||||||
|
Loading…
Reference in New Issue
Block a user