summaryrefslogtreecommitdiffstats
path: root/servers/rendering_server.cpp
diff options
context:
space:
mode:
authoraaronp64 <aaronp.code@gmail.com>2024-05-14 19:08:40 -0400
committeraaronp64 <aaronp.code@gmail.com>2024-05-15 09:19:00 -0400
commitca8e3d4923f94eebf8d8b16a8625d1de6df32768 (patch)
treeccaa2a9eda33ce7696e08a5ceb63285c7ddd431e /servers/rendering_server.cpp
parent78cce1954ddb6fefb90b33742215f304ec7b0b94 (diff)
downloadredot-engine-ca8e3d4923f94eebf8d8b16a8625d1de6df32768.tar.gz
Fix tooltip content being cut off at some display scales
When getting the minimum size for a tooltip, we get the value as a Vector2. Window::set_size() takes a Vector2i, so this size was getting truncated. At certain display scales, this could be enough to cut off part of the tooltip. Updated to call Vector2::ceil() to round up before calling Window::set_size() Fixes #91958
Diffstat (limited to 'servers/rendering_server.cpp')
0 files changed, 0 insertions, 0 deletions