summaryrefslogtreecommitdiff
path: root/scene/gui/texture_progress_bar.h
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-11-13 21:38:29 +0100
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2023-01-26 15:15:14 +0100
commitc4ed247f5f49eeda614290bf8e0b61df9a6f089e (patch)
tree78673db3f3f5408d5d52fbf6250438fd4b2df9d8 /scene/gui/texture_progress_bar.h
parentb05e1e7d6982c1a0ebbba2e1da60bf05fd2a009a (diff)
Fix position of Tooltips
CanvasItem::get_screen_transform returns a transform from the CanvasItem to the coordinate system, where a Popup - created as a child of the CanvasItem - should be opened. get_screen_transform makes some simplifications, that work well, when used in the editor, but not in general cases. Since Popups like Tooltips are now used more commonly in projects, it becomes necessary to correct these simplifications. This solution introduces Viewport::get_popup_base_transform, which makes the necessary calculations.
Diffstat (limited to 'scene/gui/texture_progress_bar.h')
0 files changed, 0 insertions, 0 deletions