From 4b0bc220e4da1173f742a4973939b139bef562db Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Fri, 21 Jul 2023 00:58:49 +1000 Subject: Support for changing the game's timescale Context-specific (like per-world) timescales can also be added later --- source/windowing/StarFlowLayout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/windowing/StarFlowLayout.cpp') diff --git a/source/windowing/StarFlowLayout.cpp b/source/windowing/StarFlowLayout.cpp index 714d159..604e1d0 100644 --- a/source/windowing/StarFlowLayout.cpp +++ b/source/windowing/StarFlowLayout.cpp @@ -4,8 +4,8 @@ namespace Star { FlowLayout::FlowLayout() : m_wrap(true) {} -void FlowLayout::update() { - Layout::update(); +void FlowLayout::update(float dt) { + Layout::update(dt); int consumedWidth = 0; int rowHeight = 0; -- cgit v1.2.3