Commit 64d1ed4e authored by Erwan Tulou's avatar Erwan Tulou

skins2: fix initial text state to reflect documentation

In the Web documentation, it reads "text automatically starts scrolling" in automatic mode.
parent 877ff19b
...@@ -91,7 +91,7 @@ CtrlText::CtrlText( intf_thread_t *pIntf, VarText &rVariable, ...@@ -91,7 +91,7 @@ CtrlText::CtrlText( intf_thread_t *pIntf, VarText &rVariable,
} }
// Initial state // Initial state
m_fsm.setState( "outStill" ); m_fsm.setState( (m_scrollMode != kAutomatic) ? "outStill" : "outMoving" );
// Observe the variable // Observe the variable
m_rVariable.addObserver( this ); m_rVariable.addObserver( this );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment