Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/windowing
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-08-15 13:38:40 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-08-15 13:38:40 +1000
commitaf74a2f4918e39cd3a157350b9c8e00397c94ff8 (patch)
treedd78affb139f6d154bb874ed0c274a0a43d0d8ab /source/windowing
parent3bc2034c15ee23f78eb20a7b7a839b3300290186 (diff)
Rename global WorldTimestep var to more appropriate name
Diffstat (limited to 'source/windowing')
-rw-r--r--source/windowing/StarPaneManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/windowing/StarPaneManager.cpp b/source/windowing/StarPaneManager.cpp
index dcdace9..f44783c 100644
--- a/source/windowing/StarPaneManager.cpp
+++ b/source/windowing/StarPaneManager.cpp
@@ -270,7 +270,7 @@ void PaneManager::render() {
}
void PaneManager::update(float dt) {
- m_tooltipShowTimer -= WorldTimestep;
+ m_tooltipShowTimer -= GlobalTimestep;
if (m_tooltipShowTimer < 0 && !m_activeTooltip) {
if (auto parentPane = getPaneAt(m_tooltipLastMousePos)) {
if (auto tooltip = parentPane->createTooltip(m_tooltipLastMousePos)) {