зеркало из https://github.com/mozilla/pjs.git
patch from puetzk@iastate.edu to fix but 20496.
This commit is contained in:
Родитель
b2e89de4f7
Коммит
57ee4ab2af
|
@ -99,6 +99,11 @@ nsTransform2D *theTransform;
|
|||
theTransform->SetToIdentity();
|
||||
theTransform->AddScale(app2dev, app2dev);
|
||||
|
||||
#ifdef XP_UNIX
|
||||
srcRect.SetRect(0,0,tvrect.width,tvrect.height);
|
||||
SetClipRect(srcRect, nsClipCombine_kReplace, clip);
|
||||
#endif
|
||||
|
||||
// copy the initial image to our buffer, this takes twips and converts to pixels..
|
||||
// which is what the image is in
|
||||
this->DrawImage(aImage,0,0,aWidth,aHeight);
|
||||
|
|
|
@ -99,6 +99,11 @@ nsTransform2D *theTransform;
|
|||
theTransform->SetToIdentity();
|
||||
theTransform->AddScale(app2dev, app2dev);
|
||||
|
||||
#ifdef XP_UNIX
|
||||
srcRect.SetRect(0,0,tvrect.width,tvrect.height);
|
||||
SetClipRect(srcRect, nsClipCombine_kReplace, clip);
|
||||
#endif
|
||||
|
||||
// copy the initial image to our buffer, this takes twips and converts to pixels..
|
||||
// which is what the image is in
|
||||
this->DrawImage(aImage,0,0,aWidth,aHeight);
|
||||
|
|
Загрузка…
Ссылка в новой задаче