Kaydet (Commit) 8b5f18ea authored tarafından Jan Holesovsky's avatar Jan Holesovsky Kaydeden (comit) Miklos Vajna

sc tiled editing: Set the correct map mode for editeng.

When we are entering some text into the sheet, now it happens at the correct
place.  Unfortunately we are still invalidating the wrong area, so it is not
really visible unless you tweak the ScGridWindow::LogicInvalidate() to
invalidate much more tiles.

Change-Id: I74a568761c3b21522fe291649c33829aaea200e7
üst 43a503cf
......@@ -887,7 +887,7 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI
aEnd.Y() -= 2;
rDevice.DrawRect(Rectangle(aStart, aEnd));
rDevice.SetMapMode(pViewData->GetLogicMode());
rDevice.SetMapMode(bIsTiledRendering? aDrawMode: pViewData->GetLogicMode());
pEditView->Paint(PixelToLogic(Rectangle(Point(nScrX, nScrY), Size(aOutputData.GetScrW(), aOutputData.GetScrH()))), &rDevice);
rDevice.SetMapMode(MAP_PIXEL);
}
......
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