Commit 83b7a1f0 authored by Oleg Korshul's avatar Oleg Korshul Committed by Alexander.Trofimov

не убирался последний найденный текст после закрытий окна поиска

parent 41a43d59
...@@ -3184,7 +3184,7 @@ function CEditorPage(api) ...@@ -3184,7 +3184,7 @@ function CEditorPage(api)
} }
ctx.beginPath(); ctx.beginPath();
if (drDoc.CurrentSearchNavi) if (drDoc.CurrentSearchNavi && drDoc.m_oDocumentRenderer.SearchResults.Show)
{ {
var _pageNum = drDoc.CurrentSearchNavi[0].PageNum; var _pageNum = drDoc.CurrentSearchNavi[0].PageNum;
ctx.fillStyle = "rgba(51,102,204,255)"; ctx.fillStyle = "rgba(51,102,204,255)";
......
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