Commit 7c16ceb6 authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwindows/timer.cpp: reduced the one shot timers length.

parent f66c92bf
......@@ -162,7 +162,7 @@ void Timer::Notify()
else if( p_intf->p_sys->p_input->b_dead )
{
//controls auto-hide after a timer
p_main_interface->m_controls_timer.Start(1000, wxTIMER_ONE_SHOT);
p_main_interface->m_controls_timer.Start(200, wxTIMER_ONE_SHOT);
p_main_interface->TogglePlayButton( PAUSE_S );
i_old_playing_status = PAUSE_S;
......@@ -267,10 +267,11 @@ void Timer::Notify()
}
else
{
p_main_interface->m_slider_timer.Start(1000, wxTIMER_ONE_SHOT);
p_main_interface->m_slider_timer.Start(200, wxTIMER_ONE_SHOT);
}
if( p_intf->p_sys->b_playing && p_main_interface->slider_frame->IsShown() )
if( p_intf->p_sys->b_playing &&
p_main_interface->slider_frame->IsShown() )
{
/* Update the slider if the user isn't dragging it. */
if( p_intf->p_sys->b_slider_free )
......
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