summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorAndrettin <andre.ng@live.com>2019-03-02 12:11:42 +0100
committerAndrettin <andre.ng@live.com>2019-03-02 12:11:42 +0100
commit30c07c1ae16e13113cde92da8ecacdfe6fcde1d9 (patch)
treee11bb123a1c558d2348b31f2c018068de2c9cd7e /main
parenta42549b8f703754a43bad2557357cb7046874118 (diff)
Made the tooltip position offset configurable
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 9b062d3951..96117cdc97 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1209,6 +1209,7 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
GLOBAL_DEF("display/mouse_cursor/custom_image", String());
GLOBAL_DEF("display/mouse_cursor/custom_image_hotspot", Vector2());
+ GLOBAL_DEF("display/mouse_cursor/tooltip_position_offset", Point2(10, 10));
ProjectSettings::get_singleton()->set_custom_property_info("display/mouse_cursor/custom_image", PropertyInfo(Variant::STRING, "display/mouse_cursor/custom_image", PROPERTY_HINT_FILE, "*.png,*.webp"));
if (String(ProjectSettings::get_singleton()->get("display/mouse_cursor/custom_image")) != String()) {