Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
e77668eb
Kaydet (Commit)
e77668eb
authored
Kas 13, 2015
tarafından
Andrzej Hunt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sc lok: during tiled rendering the cell-cursor is always visible
Change-Id: Ia802c19f5bfd2fe2e9909e3c611047c529a64200
üst
07976102
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
gridwin.cxx
sc/source/ui/view/gridwin.cxx
+5
-7
No files found.
sc/source/ui/view/gridwin.cxx
Dosyayı görüntüle @
e77668eb
...
@@ -6010,7 +6010,9 @@ void ScGridWindow::UpdateCursorOverlay()
...
@@ -6010,7 +6010,9 @@ void ScGridWindow::UpdateCursorOverlay()
const ScPatternAttr* pPattern = pDoc->GetPattern(nX,nY,nTab);
const ScPatternAttr* pPattern = pDoc->GetPattern(nX,nY,nTab);
if (!maVisibleRange.isInside(nX, nY))
ScDrawLayer* pDrawLayer = pDoc->GetDrawLayer();
if (!pDrawLayer->isTiledRendering() && !maVisibleRange.isInside(nX, nY))
{
{
if (maVisibleRange.mnCol2 < nX || maVisibleRange.mnRow2 < nY)
if (maVisibleRange.mnCol2 < nX || maVisibleRange.mnRow2 < nY)
return; // no further check needed, nothing visible
return; // no further check needed, nothing visible
...
@@ -6029,13 +6031,11 @@ void ScGridWindow::UpdateCursorOverlay()
...
@@ -6029,13 +6031,11 @@ void ScGridWindow::UpdateCursorOverlay()
}
}
// don't show the cursor in overlapped cells
// don't show the cursor in overlapped cells
const ScMergeFlagAttr& rMergeFlag = static_cast<const ScMergeFlagAttr&>( pPattern->GetItem(ATTR_MERGE_FLAG) );
const ScMergeFlagAttr& rMergeFlag = static_cast<const ScMergeFlagAttr&>( pPattern->GetItem(ATTR_MERGE_FLAG) );
bool bOverlapped = rMergeFlag.IsOverlapped();
bool bOverlapped = rMergeFlag.IsOverlapped();
// left or above of the screen?
// left or above of the screen?
bool bVis = pDrawLayer->isTiledRendering() || ( nX>=pViewData->GetPosX(eHWhich) && nY>=pViewData->GetPosY(eVWhich) );
bool bVis = ( nX>=pViewData->GetPosX(eHWhich) && nY>=pViewData->GetPosY(eVWhich) );
if (!bVis)
if (!bVis)
{
{
SCCOL nEndX = nX;
SCCOL nEndX = nX;
...
@@ -6065,7 +6065,7 @@ void ScGridWindow::UpdateCursorOverlay()
...
@@ -6065,7 +6065,7 @@ void ScGridWindow::UpdateCursorOverlay()
}
}
// in the tiled rendering case, don't limit to the screen size
// in the tiled rendering case, don't limit to the screen size
if (bMaybeVisible)
if (bMaybeVisible
|| pDrawLayer->isTiledRendering()
)
{
{
long nSizeXPix;
long nSizeXPix;
long nSizeYPix;
long nSizeYPix;
...
@@ -6108,8 +6108,6 @@ void ScGridWindow::UpdateCursorOverlay()
...
@@ -6108,8 +6108,6 @@ void ScGridWindow::UpdateCursorOverlay()
}
}
}
}
ScDrawLayer* pDrawLayer = pDoc->GetDrawLayer();
if ( !aPixelRects.empty() )
if ( !aPixelRects.empty() )
{
{
if (pDrawLayer->isTiledRendering()) {
if (pDrawLayer->isTiledRendering()) {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment