Commit 158bd5de authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50151 954022d7-b5bf-4e40-9824-e11837661b57
parent 79901373
...@@ -3463,17 +3463,28 @@ function CThumbnailsManager() ...@@ -3463,17 +3463,28 @@ function CThumbnailsManager()
} }
var pos = oThis.ConvertCoords(global_mouseEvent.X, global_mouseEvent.Y, true, true); var pos = oThis.ConvertCoords(global_mouseEvent.X, global_mouseEvent.Y, true, true);
if (pos.Page == -1)
return; var _is_old_focused = false;
var pages_count = oThis.m_arrPages.length; var pages_count = oThis.m_arrPages.length;
for (var i = 0; i < pages_count; i++) for (var i = 0; i < pages_count; i++)
{ {
oThis.m_arrPages[i].IsFocused = false; if (oThis.m_arrPages[i].IsFocused)
{
_is_old_focused = true;
oThis.m_arrPages[i].IsFocused = false;
}
} }
oThis.m_arrPages[pos.Page].IsFocused = true; if (pos.Page != -1)
oThis.OnUpdateOverlay(); {
oThis.m_arrPages[pos.Page].IsFocused = true;
oThis.OnUpdateOverlay();
}
else if (_is_old_focused)
{
oThis.OnUpdateOverlay();
}
} }
this.OnScrollTrackTop = function() this.OnScrollTrackTop = function()
......
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