diff options
author | kobewi <kobewi4e@gmail.com> | 2022-10-21 23:40:06 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-11-04 17:24:34 +0100 |
commit | 1778301cd008bb791fd27239e0f2659ae640e351 (patch) | |
tree | 8eb98e2e6175b5b86b18113f7a4fa4e7181e7474 /editor/plugins | |
parent | 191c8ed12f624ec97b650b2726fed4e8c4bcf04c (diff) |
Add call_deferred() method to Callable
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/texture_region_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/texture_region_editor_plugin.cpp b/editor/plugins/texture_region_editor_plugin.cpp index a7a8d526d0..b0c8597adf 100644 --- a/editor/plugins/texture_region_editor_plugin.cpp +++ b/editor/plugins/texture_region_editor_plugin.cpp @@ -242,7 +242,7 @@ void TextureRegionEditor::_region_draw() { hscroll->set_value((hscroll->get_min() + hscroll->get_max() - hscroll->get_page()) / 2); vscroll->set_value((vscroll->get_min() + vscroll->get_max() - vscroll->get_page()) / 2); // This ensures that the view is updated correctly. - callable_mp(this, &TextureRegionEditor::_pan_callback).bind(Vector2(1, 0)).call_deferredp(nullptr, 0); + callable_mp(this, &TextureRegionEditor::_pan_callback).bind(Vector2(1, 0)).call_deferred(); request_center = false; } |