Skip to content

Commit 4225006

Browse files
authored
Tooltip position fix
1 parent a74086c commit 4225006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/block_code/ui/blocks/utilities/drag_drop_area/drag_drop_area.gd

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func _menu_pressed(_index: int, _context_menu: PopupMenu):
105105
var _tooltip := parent_block._make_custom_tooltip(parent_block.get_tooltip())
106106
var _tooltip_window := Popup.new()
107107

108-
_tooltip_window.position = get_global_mouse_position()
108+
_tooltip_window.position = DisplayServer.mouse_get_position()
109109
_tooltip_window.popup_hide.connect(_cleanup)
110110
_tooltip_window.add_child(_tooltip)
111111
add_child(_tooltip_window)

0 commit comments

Comments
 (0)