Skip to content

Commit

Permalink
Tooltip position fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DoomTas3r authored Nov 1, 2024
1 parent a74086c commit 4225006
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func _menu_pressed(_index: int, _context_menu: PopupMenu):
var _tooltip := parent_block._make_custom_tooltip(parent_block.get_tooltip())
var _tooltip_window := Popup.new()

_tooltip_window.position = get_global_mouse_position()
_tooltip_window.position = DisplayServer.mouse_get_position()
_tooltip_window.popup_hide.connect(_cleanup)
_tooltip_window.add_child(_tooltip)
add_child(_tooltip_window)
Expand Down

0 comments on commit 4225006

Please sign in to comment.